共用方式為


DynamicTypeService.GetTypeDiscoveryService Method (IVsHierarchy, UInt32)

Gets a type discovery service for the specified 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 GetTypeDiscoveryService ( _
    hierarchy As IVsHierarchy, _
    itemId As UInteger _
) As ITypeDiscoveryService
public abstract ITypeDiscoveryService GetTypeDiscoveryService(
    IVsHierarchy hierarchy,
    uint itemId
)

Parameters

Return Value

Type: System.ComponentModel.Design.ITypeDiscoveryService
ITypeDiscoveryService .

.NET Framework Security

See Also

Reference

DynamicTypeService Class

GetTypeDiscoveryService Overload

Microsoft.VisualStudio.Shell.Design Namespace