DynamicTypeService.GetTypeResolutionService Method (IVsHierarchy, UInt32)
Gets a type resolution service for a given hierarchy node and item ID.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public MustOverride Function GetTypeResolutionService ( _
hierarchy As IVsHierarchy, _
itemId As UInteger _
) As ITypeResolutionService
public abstract ITypeResolutionService GetTypeResolutionService(
IVsHierarchy hierarchy,
uint itemId
)
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface of the HierarchyNode.
- itemId
Type: System.UInt32
Return Value
Type: System.ComponentModel.Design.ITypeResolutionService
ITypeResolutionService .
.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.