IDatabaseProjectNode.GetProjectProperty Method (String, Boolean, DatabaseProjectPropertyValueType, String)

Returns the value of a project property.

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

Syntax

'Declaration
Function GetProjectProperty ( _
    propertyName As String, _
    resetCache As Boolean, _
    evaluation As DatabaseProjectPropertyValueType, _
    defaultValue As String _
) As String
string GetProjectProperty(
    string propertyName,
    bool resetCache,
    DatabaseProjectPropertyValueType evaluation,
    string defaultValue
)
String^ GetProjectProperty(
    String^ propertyName, 
    bool resetCache, 
    DatabaseProjectPropertyValueType evaluation, 
    String^ defaultValue
)
abstract GetProjectProperty : 
        propertyName:string * 
        resetCache:bool * 
        evaluation:DatabaseProjectPropertyValueType * 
        defaultValue:string -> string 
function GetProjectProperty(
    propertyName : String, 
    resetCache : boolean, 
    evaluation : DatabaseProjectPropertyValueType, 
    defaultValue : String
) : String

Parameters

  • resetCache
    Type: System.Boolean
    true to reprocess the MSBuild property cache.
  • defaultValue
    Type: System.String
    If the property is empty the default value will be returned.

Return Value

Type: System.String
The current value of the project property.

.NET Framework Security

See Also

Reference

IDatabaseProjectNode Interface

GetProjectProperty Overload

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