HierarchyUtilities.TryGetHierarchyProperty<T> Method (IVsHierarchy, UInt32, Int32, T%)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Shared Function TryGetHierarchyProperty(Of T) ( _
hierarchy As IVsHierarchy, _
itemid As UInteger, _
propid As Integer, _
<OutAttribute> ByRef value As T _
) As Boolean
public static bool TryGetHierarchyProperty<T>(
IVsHierarchy hierarchy,
uint itemid,
int propid,
out T value
)
Type Parameters
- T
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
- itemid
Type: System.UInt32
- propid
Type: System.Int32
- value
Type: T%
Return Value
Type: System.Boolean
.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.