Class CommonFieldOptions
Available options for adding most of SharePoint fields
(Excepted Lookup fields)
Inheritance
System.Object
CommonFieldOptions
Assembly: PnP.Core.dll
Syntax
public abstract class CommonFieldOptions : object
Properties
Add this field to the default view
Declaration
public bool AddToDefaultView { get; set; }
Property Value
Sets the description of the field
Declaration
public string Description { get; set; }
Property Value
Sets whether the field enforces unique values
Declaration
public bool? EnforceUniqueValues { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Sets the group of the field
Declaration
public string Group { get; set; }
Property Value
Sets whether the field is hidden
Declaration
public bool? Hidden { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Declaration
public Guid? Id { get; set; }
Property Value
Sets whether the field is indexed
Declaration
public bool? Indexed { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Set a specific internal name for the field
Declaration
public string InternalName { get; set; }
Property Value
Declaration
public AddFieldOptionsFlags Options { get; set; }
Property Value
Sets whether the field is required
Declaration
public bool? Required { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Sets the validation message of the field
Declaration
public string ValidationMessage { get; set; }
Property Value