共用方式為


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

參數

傳回值

型別:System.Int32
HRESULT

備註

如果 attributeName 為 null 或 String.Empty,則擲回例外狀況。

.NET Framework 安全性

請參閱

參考

IDatabaseNode 介面

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空間