Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function SetProperty ( _
itemId As UInteger, _
propId As Integer, _
property As Object _
) As Integer Implements IVsHierarchy.SetProperty
'使用
Dim instance As FlavoredProject
Dim itemId As UInteger
Dim propId As Integer
Dim property As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsHierarchy).SetProperty(itemId, _
propId, property)
int IVsHierarchy.SetProperty(
uint itemId,
int propId,
Object property
)
private:
virtual int SetProperty(
unsigned int itemId,
int propId,
Object^ property
) sealed = IVsHierarchy::SetProperty
JScript does not support explicit interface implementations.
Parameters
- itemId
Type: System.UInt32
- propId
Type: System.Int32
- property
Type: System.Object
Return Value
Type: System.Int32
Implements
IVsHierarchy.SetProperty(UInt32, Int32, Object)
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.