Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Private Function GetProperty ( _
itemId As UInteger, _
propId As Integer, _
<OutAttribute> ByRef property As Object _
) As Integer Implements IVsHierarchy.GetProperty
'使用
Dim instance As FlavoredProject
Dim itemId As UInteger
Dim propId As Integer
Dim property As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsHierarchy).GetProperty(itemId, _
propId, property)
int IVsHierarchy.GetProperty(
uint itemId,
int propId,
out Object property
)
private:
virtual int GetProperty(
unsigned int itemId,
int propId,
[OutAttribute] Object^% property
) sealed = IVsHierarchy::GetProperty
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.GetProperty(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.