Partager via


IDatabaseNode.GetItemAttribute, méthode

Retourne les métadonnées pour cet élément dans le fichier projet. Cet appel est juste une commodité pour GetItemAttribute.

Espace de noms :  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly :  Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : System.Int32
HRESULT

Notes

Lève une exception si l'attributeName est Null ou String.Empty.

Sécurité .NET Framework

Voir aussi

Référence

IDatabaseNode Interface

Microsoft.VisualStudio.Data.Schema.Package.Project, espace de noms