共用方式為


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

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

ProjectConfig 類別

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空間