Condividi tramite


ColumnAttribute Members

Include Protected Members
Include Inherited Members

Specifies that the property is mapped to a field (column) in a Microsoft SharePoint Foundation list.

The ColumnAttribute type exposes the following members.

Constructors

  Name Description
Public method ColumnAttribute Initializes an instance of the ColumnAttribute class.

Top

Properties

  Name Description
Public property FieldType Gets or sets the type of the field.
Public property IsCalculated Gets or sets a value that indicates whether the field (column) is a calculated field.
Public property IsLookupId Gets or sets a value that indicates whether the property represents the Id of the list item that provides the value for the property that represents the looked-up value.
Public property IsLookupValue Gets or sets a value that indicates whether this field is a lookup field value.
Public property Name Gets or sets the internal name of the list field (column) or list property. (Inherited from DataAttribute.)
Public property ReadOnly Gets or sets a value that indicates whether the column on the list is read-only. (Inherited from DataAttribute.)
Public property Required Gets or sets a value that indicates whether the field (column) is required to have a value.
Public property Storage Gets or sets the field member of the entity class that stores the value of the property to which the attribute is applied. (Inherited from DataAttribute.)
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

ColumnAttribute Class

Microsoft.SharePoint.Linq Namespace