Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Private Function SetItemAttribute ( _
item As UInteger, _
attributeName As String, _
attributeValue As String _
) As Integer Implements IVsBuildPropertyStorage.SetItemAttribute
'使用
Dim instance As ProjectNode
Dim item As UInteger
Dim attributeName As String
Dim attributeValue As String
Dim returnValue As Integer
returnValue = CType(instance, IVsBuildPropertyStorage).SetItemAttribute(item, _
attributeName, attributeValue)
int IVsBuildPropertyStorage.SetItemAttribute(
uint item,
string attributeName,
string attributeValue
)
private:
virtual int SetItemAttribute(
unsigned int item,
String^ attributeName,
String^ attributeValue
) sealed = IVsBuildPropertyStorage::SetItemAttribute
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.SetItemAttribute(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.