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
- attributeName
Type: System.String
The attribute name.
- attributeValue
Type: System.String%
The attribute value.
Return Value
Type: System.Int32
HRESULT
Remarks
Throws an exception if attributeName is null or String.Empty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace