Table of contents
TOC
Collapse the table of content
Expand the table of content

FieldRef Class

SharePoint Dev Documents|Last Updated: 8/7/2017
|
1 Contributor

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

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

Namespace:OfficeDevPnP.Core.Framework.Provisioning.Model
Assembly: OfficeDevPnP.Core.dll

Inheritance Hierarchy

System.Object
OfficeDevPnP.Core.Framework.Provisioning.Model.BaseModel

Syntax

public class FieldRef: BaseModel, IEquatable<FieldRef>

Constructors

NameDescription
FieldRef()Constructor for FieldRef class
FieldRef(String)Constructor for FieldRef class

Properties

NameDescription
DisplayNameGets or sets the Display Name of the field. Only applicable to fields associated with lists.
HiddenGets or sets if the field is Hidden
IdGets ot sets the ID of the referenced field
NameGets or sets the name of the field link. This will not change the internal name of the field.
RemoveDeclares if the FieldRef should be Removed from the list or library, optional attribute.
RequiredGets or sets if the field is Required

Methods

NameDescription
Equals(Object)Compares object with FieldRef
Equals(FieldRef)Compares FieldRef object based on Id, Required, Hidden, and Remove properties.
GetHashCode()Gets the hash code

See also

© 2018 Microsoft