DatabaseProjectConfigurationExtender.GetConfigurationPropertyAsBool-Methode

Ruft die Konfigurationseigenschaft als Boolean ab.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameter

  • defaultValue
    Typ: System.Boolean
    Der Wert, der zurückgegeben werden soll, wenn der Wert der Eigenschaft nicht in einen booleschen Wert konvertiert werden kann.

Rückgabewert

Typ: System.Boolean
Der Wert der Eigenschaft.

.NET Framework-Sicherheit

Siehe auch

Referenz

DatabaseProjectConfigurationExtender Klasse

Microsoft.VisualStudio.Data.Schema.Package.Project-Namespace