HierarchyUtilities.GetHierarchyProperty<T> Method (IVsHierarchy, UInt32, Int32)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function GetHierarchyProperty(Of T) ( _
hierarchy As IVsHierarchy, _
itemid As UInteger, _
propid As Integer _
) As T
public static T GetHierarchyProperty<T>(
IVsHierarchy hierarchy,
uint itemid,
int propid
)
public:
generic<typename T>
static T GetHierarchyProperty(
IVsHierarchy^ hierarchy,
unsigned int itemid,
int propid
)
static member GetHierarchyProperty :
hierarchy:IVsHierarchy *
itemid:uint32 *
propid:int -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- itemid
Type: System.UInt32
- propid
Type: System.Int32
Return Value
Type: T
.NET Framework Security
- 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.