Class FieldCreationInformation
Class that describes the field creation information
Inheritance
System.Object
FieldCreationInformation
Namespace: PnP.Framework.Entities
Assembly: PnP.Framework.dll
Syntax
public class FieldCreationInformation : object
Constructors
FieldCreationInformation(FieldType)
Constructor
Declaration
public FieldCreationInformation(FieldType fieldType)
Parameters
FieldType
fieldType
Type of the field |
FieldCreationInformation(String)
Constructor
Declaration
public FieldCreationInformation(string fieldType)
Parameters
System.String
fieldType
Type of the field |
Properties
AdditionalAttributes
List of additional properties that need to be applied to the field on creation
Declaration
public IEnumerable<KeyValuePair<string, string>> AdditionalAttributes { get; set; }
Property Value
IEnumerable<KeyValuePair<System.String, System.String>>
|
AdditionalChildNodes
List of additional child nodes that need to be included in the CAML field on creation
Declaration
public IEnumerable<KeyValuePair<string, string>> AdditionalChildNodes { get; set; }
Property Value
IEnumerable<KeyValuePair<System.String, System.String>>
|
AddToDefaultView
Adds fields to default view if value is true.
Declaration
public bool AddToDefaultView { get; set; }
Property Value
System.Boolean
|
ClientSideComponentId
Ignored currently for SP2016
Declaration
public Guid ClientSideComponentId { get; set; }
Property Value
Guid
|
ClientSideComponentProperties
Ignored currently for SP2016
Declaration
public string ClientSideComponentProperties { get; set; }
Property Value
System.String
|
DisplayName
Field display name
Declaration
public string DisplayName { get; set; }
Property Value
System.String
|
FieldOptions
Specifies field options
Declaration
public AddFieldOptions FieldOptions { get; set; }
Property Value
AddFieldOptions
|
FieldType
Type of the field
Declaration
public string FieldType { get; protected set; }
Property Value
System.String
|
Group
Group of the field
Declaration
public string Group { get; set; }
Property Value
System.String
|
Id
Guid of the field
Declaration
public Guid Id { get; set; }
Property Value
Guid
|
InternalName
Field internal name
Declaration
public string InternalName { get; set; }
Property Value
System.String
|
Required
Specifies fields is required to enter vlaue or not.
Declaration
public bool Required { get; set; }
Property Value
System.Boolean
|