共用方式為


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
    型別:System.Boolean
    指定的屬性布林值表示為「基本」。

備註

為「基本」的屬性是最常用的,因此,通常不需要建立的連接。

若要將屬性視為「Basic」,請將屬性值設定為 true,否則設定屬性值。 false。

.NET Framework 安全性

請參閱

參考

BasicPropertyAttribute 類別

Microsoft.VisualStudio.Data 命名空間

IsBasicProperty