IDatabaseNode.GetItemAttribute 方法
傳回專案檔中這個項目的中繼資料。 此呼叫只是為了要方便執行 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。