ProjectConfig.GetConfigurationPropertyAsBool 方法
這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Protected Function GetConfigurationPropertyAsBool ( _
propertyName As String, _
defaultValue As Boolean _
) As Boolean
protected bool GetConfigurationPropertyAsBool(
string propertyName,
bool defaultValue
)
protected:
bool GetConfigurationPropertyAsBool(
String^ propertyName,
bool defaultValue
)
member GetConfigurationPropertyAsBool :
propertyName:string *
defaultValue:bool -> bool
protected function GetConfigurationPropertyAsBool(
propertyName : String,
defaultValue : boolean
) : boolean
參數
- propertyName
型別:System.String
- defaultValue
型別:System.Boolean
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空間