プロジェクト ファイル内のこの項目のメタデータを返します。 これは、GetItemAttribute を簡単に呼び出すために用意されています。
名前空間: Microsoft.VisualStudio.Data.Schema.Package.Project
アセンブリ: Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)
構文
'宣言
Function GetItemAttribute ( _
attributeName As String, _
<OutAttribute> ByRef attributeValue As String _
) As Integer
int GetItemAttribute(
string attributeName,
out string attributeValue
)
int GetItemAttribute(
String^ attributeName,
[OutAttribute] String^% attributeValue
)
abstract GetItemAttribute :
attributeName:string *
attributeValue:string byref -> int
function GetItemAttribute(
attributeName : String,
attributeValue : String
) : int
パラメーター
- attributeName
型: System.String
属性名。
- attributeValue
型: System.String%
属性値。
戻り値
型: System.Int32
HRESULT。
解説
attributeName が null であるか String.Empty である場合に例外をスローします。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。