다음을 통해 공유


ChoiceAttribute Members

Include Protected Members
Include Inherited Members

Maps a member of an enumeration to a String choice value for a Choice or MultiChoice type field on a Microsoft SharePoint Foundation list.

The ChoiceAttribute type exposes the following members.

Constructors

  Name Description
Public method ChoiceAttribute Initializes a new instance of the ChoiceAttribute class.

Top

Properties

  Name Description
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 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.)
Public property Value Gets or sets the choice value that is mapped to the enumeration value.

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

ChoiceAttribute Class

Microsoft.SharePoint.Linq Namespace