ChoiceAttribute 成员

包括受保护的成员
包括继承的成员

将枚举成员映射到StringMicrosoft SharePoint Foundation列表上选择或 MultiChoice 类型字段选择值。

ChoiceAttribute 类型公开以下成员。

构造函数

  名称 说明
公共方法 ChoiceAttribute ChoiceAttribute 类的新实例进行初始化。

页首

属性

  名称 说明
公共属性 Name 获取或设置该列表的字段 (列) 或列表属性的内部名称。 (从 DataAttribute 继承。)
公共属性 ReadOnly 获取或设置一个值,该值指示是否在列表中的列是只读的。 (从 DataAttribute 继承。)
公共属性 Storage 获取或设置实体类存储该属性所应用于的属性的值的字段成员。 (从 DataAttribute 继承。)
公共属性 TypeId (从 Attribute 继承。)
公共属性 Value 获取或设置映射到枚举值的选项值。

页首

方法

  名称 说明
公共方法 Equals (从 Attribute 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Attribute 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsDefaultAttribute (从 Attribute 继承。)
公共方法 Match (从 Attribute 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式 接口 实现

  名称 说明
显式接口实现私有方法 _Attribute.GetIDsOfNames (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfo (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfoCount (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.Invoke (从 Attribute 继承。)

页首

另请参阅

引用

ChoiceAttribute 类

Microsoft.SharePoint.Linq 命名空间