DynamicTypeService.GetTypeResolutionService Method (IVsHierarchy)
Gets a type resolution service for a given hierarchy node.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function GetTypeResolutionService ( _
hierarchy As IVsHierarchy _
) As ITypeResolutionService
public ITypeResolutionService GetTypeResolutionService(
IVsHierarchy hierarchy
)
public:
ITypeResolutionService^ GetTypeResolutionService(
IVsHierarchy^ hierarchy
)
member GetTypeResolutionService :
hierarchy:IVsHierarchy -> ITypeResolutionService
public function GetTypeResolutionService(
hierarchy : IVsHierarchy
) : ITypeResolutionService
Parameters
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy interface of the HierarchyNode.
Return Value
Type: ITypeResolutionService
ITypeResolutionService.
Remarks
This method calls GetTypeResolutionService using VSITEMID_ROOT for the itemid parameter.
.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.