BasicPropertyAttribute 构造函数

选件类构造函数。 初始化 BasicPropertyAttribute 选件类的新实例与布尔值表示的实例是否为“基本”。

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Public Sub New ( _
    isBasicProperty As Boolean _
)
public BasicPropertyAttribute(
    bool isBasicProperty
)
public:
BasicPropertyAttribute(
    bool isBasicProperty
)
new : 
        isBasicProperty:bool -> BasicPropertyAttribute
public function BasicPropertyAttribute(
    isBasicProperty : boolean
)

参数

  • isBasicProperty
    类型:Boolean

    指定所指定的属性是否的布尔值为“基本”。

备注

为“基本”的属性是一些最常用的,因此,通常需要的建立连接。

若要属性将“基本被视为”,设置属性值设置为 true,否则设置属性值设置为 false。

.NET Framework 安全性

请参阅

参考

BasicPropertyAttribute 类

Microsoft.VisualStudio.Data 命名空间

IsBasicProperty