Partager via


DynamicTypeService.GetTypeDiscoveryService Method

Definition

Overloads

GetTypeDiscoveryService(IVsHierarchy, UInt32)

Gets a type discovery service for the specified hierarchy node and item ID.

GetTypeDiscoveryService(IVsHierarchy)

Gets a type discovery service for the specified hierarchy node.

GetTypeDiscoveryService(IVsHierarchy, UInt32)

Gets a type discovery service for the specified hierarchy node and item ID.

public:
 abstract System::ComponentModel::Design::ITypeDiscoveryService ^ GetTypeDiscoveryService(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId);
public abstract System.ComponentModel.Design.ITypeDiscoveryService GetTypeDiscoveryService (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId);
abstract member GetTypeDiscoveryService : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> System.ComponentModel.Design.ITypeDiscoveryService
Public MustOverride Function GetTypeDiscoveryService (hierarchy As IVsHierarchy, itemId As UInteger) As ITypeDiscoveryService

Parameters

hierarchy
IVsHierarchy

The IVsHierarchy interface of the Microsoft.VisualStudio.Package.HierarchyNode.

itemId
UInt32

Returns

ITypeDiscoveryService.

Applies to

GetTypeDiscoveryService(IVsHierarchy)

Gets a type discovery service for the specified hierarchy node.

public:
 System::ComponentModel::Design::ITypeDiscoveryService ^ GetTypeDiscoveryService(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public System.ComponentModel.Design.ITypeDiscoveryService GetTypeDiscoveryService (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
member this.GetTypeDiscoveryService : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> System.ComponentModel.Design.ITypeDiscoveryService
Public Function GetTypeDiscoveryService (hierarchy As IVsHierarchy) As ITypeDiscoveryService

Parameters

hierarchy
IVsHierarchy

The IVsHierarchy interface of the hierarchy node.

Returns

ITypeDiscoveryService.

Applies to