Share via


IDatabaseNode.GetItemAttribute Method

Returns the metadata for this item in the project file. This call is just a convenience to GetItemAttribute.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Int32
HRESULT

Remarks

Throws an exception if attributeName is null or String.Empty.

.NET Framework Security

See Also

Reference

IDatabaseNode Interface

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace