IDatabaseProjectNode.GetProjectProperty 方法 (String, Boolean, DatabaseProjectPropertyValueType)

返回项目属性的值。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.Project
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

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

参数

  • resetCache
    类型:System.Boolean
    true 表示重新处理 MSBuild 属性缓存。

返回值

类型:System.String
项目属性的当前值。

.NET Framework 安全性

请参见

参考

IDatabaseProjectNode 接口

GetProjectProperty 重载

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空间