Search Results for

    Show / Hide Table of Contents

    Class Field

    Represents a Field XML Markup that is used to define information about a field

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

    Properties

    SchemaXml

    Gets a value that specifies the XML Schema representing the Field type. https://msdn.microsoft.com/en-us/library/office/ff407271.aspx

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

    Methods

    Equals(Field)

    Compares Field object based on currentXMl and otherXml

    Declaration
    public bool Equals(Field other)
    Parameters
    Field other

    Object that represents Field

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with Field

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

    Object

    Returns
    System.Boolean

    true if the current object is equal to the Field

    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