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
'使用
Dim instance As DynamicTypeService
Dim hierarchy As IVsHierarchy
Dim itemid As UInteger
Dim returnValue As ITypeResolutionService
returnValue = instance.GetTypeResolutionService(hierarchy, _
itemid)
public abstract ITypeResolutionService GetTypeResolutionService(
IVsHierarchy hierarchy,
uint itemid
)
public:
virtual ITypeResolutionService^ GetTypeResolutionService(
IVsHierarchy^ hierarchy,
unsigned int itemid
) abstract
public abstract function GetTypeResolutionService(
hierarchy : IVsHierarchy,
itemid : uint
) : ITypeResolutionService
Parameters
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy interface of the HierarchyNode.
itemid
Type: System.UInt32The item ID.
Return Value
Type: System.ComponentModel.Design.ITypeResolutionService
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.