Click or drag to resize

ColumnDefinition Class

Specifies a SharePoint site column.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.Provisioning.ObjectDefinitions
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class ColumnDefinition : BaseColumnDefinition

The ColumnDefinition type exposes the following members.

Constructors
  NameDescription
Public methodColumnDefinition
Initializes a new instance of the ColumnDefinition class
Top
Properties
  NameDescription
Public propertyName
Specifies the internal name of the column. CAUTION: Invalid characters (for instance white spaces 'The Column Name') will be escaped ('The_x0020_Column_x0020_Name'). If there is a custom title specified (via 'Title' or title resources), the column will no longer be accessible with 'The Column Name'.
(Overrides BaseColumnDefinitionName.)
Top
Methods
  NameDescription
Public methodAddToList (Overrides BaseColumnDefinitionAddToList(SPList, ProvisioningContext).)
Public methodAddToSiteColumns
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from BaseColumnDefinition.)
Top
Fields
  NameDescription
Public fieldAddToDefaultView
If enabled, the column is added to the default view.
(Inherited from BaseColumnDefinition.)
Public fieldChoices
Contains choices for this column (will be evaluated only for choice columns).
Public fieldDefaultValue
Specifies a default value for this column.
Public fieldGroup
Specifies the name of the group which the created column will be part of.
Public fieldIndexed
Specifies whether this column is indexed. Please be aware that not all columns can be indexed due to SharePoint limitations.
Public fieldRequired
Specifies whether a value for this column is required.
Public fieldSchemaXml
Specifies the CAML definition for a field. If this value is set, all other fields except 'AddToDefaultView' and 'TitleResource' are ignored.
Public fieldTitle
Specifies the display name of the column.
Public fieldTitleResource
Contains string translations for the title parameter in different languages.
Public fieldType
Specifies the type for this column. This field is ignored if the field 'TypeName' is set.
Public fieldTypeName
Specifies a type name that references a third party custom column. Otherwise the field 'Type' should be used.
Top
Remarks
This object can be used within a ListDefinition configuration element.
Remarks
This is a MatchPoint configuration class.
See Also