ProjectConfig.GetConfigurationProperty 方法
该类及其成员保留供内部使用,不应在代码中使用。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Function GetConfigurationProperty ( _
propertyName As String, _
resetCache As Boolean, _
evaluation As DatabaseProjectPropertyValueType _
) As String
public string GetConfigurationProperty(
string propertyName,
bool resetCache,
DatabaseProjectPropertyValueType evaluation
)
public:
String^ GetConfigurationProperty(
String^ propertyName,
bool resetCache,
DatabaseProjectPropertyValueType evaluation
)
member GetConfigurationProperty :
propertyName:string *
resetCache:bool *
evaluation:DatabaseProjectPropertyValueType -> string
public function GetConfigurationProperty(
propertyName : String,
resetCache : boolean,
evaluation : DatabaseProjectPropertyValueType
) : String
参数
- propertyName
类型:System.String
属性的名称。
- resetCache
类型:System.Boolean
如果要重新处理 MSBuild 属性缓存,则为 true。
- evaluation
类型:Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectPropertyValueType
确定是否计算最终结果以移除所有嵌入的宏。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空间