IDatabaseProjectNode.GetProjectProperty (Método) (String, Boolean, DatabaseProjectPropertyValueType, String)
Devuelve el valor de una propiedad de proyecto.
Espacio de nombres: Microsoft.VisualStudio.Data.Schema.Package.Project
Ensamblado: Microsoft.VisualStudio.Data.Schema.Package (en Microsoft.VisualStudio.Data.Schema.Package.dll)
Sintaxis
'Declaración
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
Parámetros
- propertyName
Tipo: System.String
Nombre de la propiedad.
- resetCache
Tipo: System.Boolean
Es true para volver a procesar la memoria caché de propiedades de MSBuild.
- evaluation
Tipo: Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectPropertyValueType
Determina si se evalúa el resultado final para quitar todas las macros incrustadas.
- defaultValue
Tipo: System.String
Si la propiedad está vacía, se devolverá el valor predeterminado.
Valor devuelto
Tipo: System.String
Valor actual de la propiedad de proyecto.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
GetProjectProperty (Sobrecarga)
Microsoft.VisualStudio.Data.Schema.Package.Project (Espacio de nombres)