PropertyAttributes 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
PropertyAttributes has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202
指定属性的特性。
此枚举支持其成员值的按位组合。
public enum class PropertyAttributes
C#
[System.Flags]
public enum PropertyAttributes
C#
[System.Flags]
[System.Obsolete("PropertyAttributes has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
public enum PropertyAttributes
[<System.Flags>]
type PropertyAttributes =
[<System.Flags>]
[<System.Obsolete("PropertyAttributes has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")>]
type PropertyAttributes =
Public Enum PropertyAttributes
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
NotSupported | 0 | 提供程序不支持该属性。 |
Optional | 2 | 在初始化数据源之前,用户不必为此属性指定值。 |
Read | 512 | 用户可以读取该属性。 |
Required | 1 | 在初始化数据源之前,用户必须为此属性指定值。 |
Write | 1024 | 用户可以写入该属性。 |
产品 | 版本 (已过时) |
---|---|
.NET Framework | 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |