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
- propertyName
Type: System.String
The name of the property.
- resetCache
Type: System.Boolean
true to reprocess the MSBuild property cache.
- evaluation
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectPropertyValueType
Determines whether the final result is evaluated to remove all embedded macros.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace