次の方法で共有


DatabaseProjectConfigurationExtender.GetConfigurationPropertyAsBool メソッド

構成プロパティをブール値として取得することを試みます。 解析に失敗した場合は、"defaultValue" を返します。

名前空間 :  Microsoft.VisualStudio.Data.Schema.Project.Project.Features.Extenders
アセンブリ :  Microsoft.VisualStudio.Data.Schema.Project (Microsoft.VisualStudio.Data.Schema.Project.dll 内)

構文

'宣言
Protected Function GetConfigurationPropertyAsBool ( _
    propertyName As String, _
    defaultValue As Boolean _
) As Boolean
'使用
Dim propertyName As String
Dim defaultValue As Boolean
Dim returnValue As Boolean

returnValue = Me.GetConfigurationPropertyAsBool(propertyName, _
    defaultValue)
protected bool GetConfigurationPropertyAsBool(
    string propertyName,
    bool defaultValue
)
protected:
bool GetConfigurationPropertyAsBool(
    String^ propertyName, 
    bool defaultValue
)
protected function GetConfigurationPropertyAsBool(
    propertyName : String, 
    defaultValue : boolean
) : boolean

パラメータ

  • propertyName
    型 : System.String
    プロパティ名を指定します。
  • defaultValue
    型 : System.Boolean
    既定のブール値を指定します。

戻り値

型 : System.Boolean

参照

参照

DatabaseProjectConfigurationExtender クラス

DatabaseProjectConfigurationExtender メンバ

Microsoft.VisualStudio.Data.Schema.Project.Project.Features.Extenders 名前空間