Gets a type resolver for the specified hierarchy node.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Function GetContextTypeResolver ( _
hierarchy As IVsHierarchy _
) As DynamicTypeService..::.ContextTypeResolver
'使用
Dim instance As DynamicTypeService
Dim hierarchy As IVsHierarchy
Dim returnValue As DynamicTypeService..::.ContextTypeResolver
returnValue = instance.GetContextTypeResolver(hierarchy)
public DynamicTypeService..::.ContextTypeResolver GetContextTypeResolver(
IVsHierarchy hierarchy
)
public:
DynamicTypeService..::.ContextTypeResolver^ GetContextTypeResolver(
IVsHierarchy^ hierarchy
)
public function GetContextTypeResolver(
hierarchy : IVsHierarchy
) : DynamicTypeService..::.ContextTypeResolver
Parameters
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy interface for the node.
Return Value
Type: Microsoft.VisualStudio.Shell.Design.DynamicTypeService.ContextTypeResolver
DynamicTypeService.ContextTypeResolver.
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.