PropertyAttributes PropertyAttributes PropertyAttributes PropertyAttributes Enum

定义

警告

此 API 现已过时。

指定属性的特性。Specifies the attributes of a property.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class PropertyAttributes
[System.Flags]
[System.Obsolete("PropertyAttributes has been deprecated.  http://go.microsoft.com/fwlink/?linkid=14202")]
public enum PropertyAttributes
type PropertyAttributes = 
Public Enum PropertyAttributes
继承
PropertyAttributesPropertyAttributesPropertyAttributesPropertyAttributes
属性

字段

NotSupported NotSupported NotSupported NotSupported 0

提供程序不支持该属性。The property is not supported by the provider.

Optional Optional Optional Optional 2

在初始化数据源之前,用户不必为此属性指定值。The user does not need to specify a value for this property before the data source is initialized.

Read Read Read Read 512

用户可以读取该属性。The user can read the property.

Required Required Required Required 1

在初始化数据源之前,用户必须为此属性指定值。The user must specify a value for this property before the data source is initialized.

Write Write Write Write 1024

用户可以写入该属性。The user can write to the property.

适用于