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 pvar As Object _
) As Integer Implements IVsUIHierarchy.GetProperty
'使用
Dim instance As FlavoredProject
Dim itemid As UInteger
Dim propid As Integer
Dim pvar As Object
Dim returnValue As Integer
returnValue = CType(instance, IVsUIHierarchy).GetProperty(itemid, _
propid, pvar)
int IVsUIHierarchy.GetProperty(
uint itemid,
int propid,
out Object pvar
)
private:
virtual int GetProperty(
unsigned int itemid,
int propid,
[OutAttribute] Object^% pvar
) sealed = IVsUIHierarchy::GetProperty
JScript does not support explicit interface implementations.
Parameters
- itemid
Type: System.UInt32
- propid
Type: System.Int32
- pvar
Type: System.Object%
Return Value
Type: System.Int32
Implements
IVsUIHierarchy.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.