Freigeben über


DynamicTypeService.GetTypeDiscoveryService Method (IVsHierarchy)

Gets a type discovery service for the specified hierarchy node.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Function GetTypeDiscoveryService ( _
    hierarchy As IVsHierarchy _
) As ITypeDiscoveryService
public ITypeDiscoveryService GetTypeDiscoveryService(
    IVsHierarchy hierarchy
)

Parameters

Return Value

Type: System.ComponentModel.Design.ITypeDiscoveryService
ITypeDiscoveryService .

Remarks

This method calls GetTypeDiscoveryService using VSITEMID_ROOT for the itemid parameter.

.NET Framework Security

See Also

Reference

DynamicTypeService Class

GetTypeDiscoveryService Overload

Microsoft.VisualStudio.Shell.Design Namespace