ProjectConfig.GetMsBuildProperty 方法
這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Protected Function GetMsBuildProperty ( _
propertyName As String, _
resetCache As Boolean _
) As ProjectPropertyInstance
protected ProjectPropertyInstance GetMsBuildProperty(
string propertyName,
bool resetCache
)
protected:
ProjectPropertyInstance^ GetMsBuildProperty(
String^ propertyName,
bool resetCache
)
member GetMsBuildProperty :
propertyName:string *
resetCache:bool -> ProjectPropertyInstance
protected function GetMsBuildProperty(
propertyName : String,
resetCache : boolean
) : ProjectPropertyInstance
參數
- propertyName
型別:System.String
- resetCache
型別:System.Boolean
傳回值
型別:Microsoft.Build.Execution.ProjectPropertyInstance
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal 命名空間