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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。