Search Results for

    Show / Hide Table of Contents

    Class FieldReference

    Defines a reference to a Field

    Inheritance
    System.Object
    BaseModel
    FieldReference
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class FieldReference : BaseModel, IProvisioningTemplateDescendant

    Properties

    Id

    Specifies the ID of the item

    Declaration
    public Guid Id { get; set; }
    Property Value
    Guid

    Name

    Specifies the name of the item

    Declaration
    public string Name { get; set; }
    Property Value
    System.String

    Remove

    Defines whether the item should be removed or not

    Declaration
    public bool Remove { get; set; }
    Property Value
    System.Boolean

    Methods

    Equals(FieldReference)

    Compares FieldReference object based on Id, Name, and Remove properties.

    Declaration
    public bool Equals(FieldReference other)
    Parameters
    FieldReference other

    FieldReference object

    Returns
    System.Boolean

    true if the FieldReference object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with FieldReference

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents FieldReference

    Returns
    System.Boolean

    true if the current object is equal to the FieldReference

    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