Class DataRow
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class DataRow : BaseModel, IProvisioningTemplateDescendant
Constructors
DataRow()
Constructor for DataRow class
Declaration
public DataRow()
DataRow(Dictionary<String, String>)
Constructor for DataRow class
Declaration
public DataRow(Dictionary<string, string> values)
Parameters
Dictionary<System.String, System.String>
values
DataRow Values |
DataRow(Dictionary<String, String>, ObjectSecurity)
Constructor for DataRow class
Declaration
public DataRow(Dictionary<string, string> values, ObjectSecurity security)
Parameters
Dictionary<System.String, System.String>
values
DataRow Values |
ObjectSecurity
security
ObjectSecurity object |
DataRow(Dictionary<String, String>, ObjectSecurity, String)
Constructor for DataRow class
Declaration
public DataRow(Dictionary<string, string> values, ObjectSecurity security, string keyValue)
Parameters
Dictionary<System.String, System.String>
values
DataRow Values |
ObjectSecurity
security
ObjectSecurity object |
System.String
keyValue
Key column value in case of KeyColumn it set on collection |
DataRow(Dictionary<String, String>, String)
Constructor for DataRow class
Declaration
public DataRow(Dictionary<string, string> values, string keyValue)
Parameters
Dictionary<System.String, System.String>
values
DataRow Values |
System.String
keyValue
Key column value in case of KeyColumn it set on collection |
Properties
Attachments
Defines a collection of DataRowAttachments
Declaration
public DataRowAttachmentCollection Attachments { get; }
Property Value
DataRowAttachmentCollection
|
Key
Declaration
public string Key { get; set; }
Property Value
System.String
|
Security
Defines the security rules for the row that will be added to the List Instance
Declaration
public ObjectSecurity Security { get; }
Property Value
ObjectSecurity
|
Values
Defines the fields to provision within a row that will be added to the List Instance
Declaration
public Dictionary<string, string> Values { get; }
Property Value
Dictionary<System.String, System.String>
|
Methods
Equals(DataRow)
Compares DataRow object based on Values, Security, Key, and Attachments properties.
Declaration
public bool Equals(DataRow other)
Parameters
DataRow
other
DataRow object |
Returns
System.Boolean
true if the DataRow object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with DataRow
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents DataRow |
Returns
System.Boolean
true if the current object is equal to the DataRow |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |