选件类构造函数。 初始化 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。