構成プロパティを Boolean として取得します。
名前空間: Microsoft.VisualStudio.Data.Schema.Package.Project
アセンブリ: 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
プロパティの値をブール値に変換できない場合に返す値。
戻り値
型: System.Boolean
プロパティの値。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。