プロジェクト プロパティの値を返します。
名前空間: 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, _
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
パラメーター
- propertyName
型: System.String
プロパティの名前。
- resetCache
型: System.Boolean
MSBuild プロパティ キャッシュを再処理する場合は true。
- evaluation
型: Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectPropertyValueType
埋め込まれているすべてのマクロを削除するために最終的な結果が評価されるかどうかを決定します。
- defaultValue
型: System.String
プロパティが空の場合、既定値が返されます。
戻り値
型: System.String
プロジェクト プロパティの現在値。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。