IDatabaseProjectNode.GetProjectPropertyAsBoolean Method

Returns the value of a project property as a Boolean.

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

Syntax

'Declaration
Function GetProjectPropertyAsBoolean ( _
    propertyName As String, _
    resetCache As Boolean, _
    defaultValue As Boolean _
) As Boolean
'Usage
Dim instance As IDatabaseProjectNode
Dim propertyName As String
Dim resetCache As Boolean
Dim defaultValue As Boolean
Dim returnValue As Boolean

returnValue = instance.GetProjectPropertyAsBoolean(propertyName, _
    resetCache, defaultValue)
bool GetProjectPropertyAsBoolean(
    string propertyName,
    bool resetCache,
    bool defaultValue
)
bool GetProjectPropertyAsBoolean(
    String^ propertyName, 
    bool resetCache, 
    bool defaultValue
)
function GetProjectPropertyAsBoolean(
    propertyName : String, 
    resetCache : boolean, 
    defaultValue : boolean
) : boolean
abstract GetProjectPropertyAsBoolean : 
        propertyName:string * 
        resetCache:bool * 
        defaultValue:bool -> bool 

Parameters

  • resetCache
    Type: System.Boolean
    Specifies whether to reprocess the MSBuild property cache
  • defaultValue
    Type: System.Boolean
    The value to return if the property is empty

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

IDatabaseProjectNode Interface

IDatabaseProjectNode Members

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