Share via


DatabaseProjectConfigurationExtender.GetConfigurationPropertyAsBool Method

Attempts to get the configuration property as a Boolean.

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

Parameters

  • defaultValue
    Type: System.Boolean
    The value to return if the value of the property cannot be converted to a boolean value.

Return Value

Type: System.Boolean
The value of the property.

.NET Framework Security

See Also

Reference

DatabaseProjectConfigurationExtender Class

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