다음을 통해 공유


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

‘선언
Public Function GetTypeDiscoveryService ( _
    hierarchy As IVsHierarchy _
) As ITypeDiscoveryService
‘사용 방법
Dim instance As DynamicTypeService
Dim hierarchy As IVsHierarchy
Dim returnValue As ITypeDiscoveryService

returnValue = instance.GetTypeDiscoveryService(hierarchy)
public ITypeDiscoveryService GetTypeDiscoveryService(
    IVsHierarchy hierarchy
)
public:
ITypeDiscoveryService^ GetTypeDiscoveryService(
    IVsHierarchy^ hierarchy
)
member GetTypeDiscoveryService : 
        hierarchy:IVsHierarchy -> ITypeDiscoveryService 
public function GetTypeDiscoveryService(
    hierarchy : IVsHierarchy
) : ITypeDiscoveryService

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

DynamicTypeService Members

GetTypeDiscoveryService Overload

Microsoft.VisualStudio.Shell.Design Namespace