Search Results for

    Show / Hide Table of Contents

    Class DataRow

    Inheritance
    System.Object
    BaseModel
    DataRow
    Inherited Members
    BaseModel.ParentTemplate
    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer