Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Private Function GetItemAttribute ( _
item As UInteger, _
attributeName As String, _
<OutAttribute> ByRef attributeValue As String _
) As Integer Implements IVsBuildPropertyStorage.GetItemAttribute
'使用
Dim instance As ProjectNode
Dim item As UInteger
Dim attributeName As String
Dim attributeValue As String
Dim returnValue As Integer
returnValue = CType(instance, IVsBuildPropertyStorage).GetItemAttribute(item, _
attributeName, attributeValue)
int IVsBuildPropertyStorage.GetItemAttribute(
uint item,
string attributeName,
out string attributeValue
)
private:
virtual int GetItemAttribute(
unsigned int item,
String^ attributeName,
[OutAttribute] String^% attributeValue
) sealed = IVsBuildPropertyStorage::GetItemAttribute
JScript does not support explicit interface implementations.
Parameters
- item
Type: System.UInt32
- attributeName
Type: System.String
- attributeValue
Type: System.String%
Return Value
Type: System.Int32
Implements
IVsBuildPropertyStorage.GetItemAttribute(UInt32, String, String%)
Permissions
- 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.