DynamicTypeService.GetTypeDiscoveryService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.