Condividi tramite


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

'Declaration
Public MustOverride Function GetTypeDiscoveryService ( _
    hierarchy As IVsHierarchy, _
    itemId As UInteger _
) As ITypeDiscoveryService
public abstract ITypeDiscoveryService GetTypeDiscoveryService(
    IVsHierarchy hierarchy,
    uint itemId
)
public:
virtual ITypeDiscoveryService^ GetTypeDiscoveryService(
    IVsHierarchy^ hierarchy, 
    unsigned int itemId
) abstract
abstract GetTypeDiscoveryService : 
        hierarchy:IVsHierarchy * 
        itemId:uint32 -> ITypeDiscoveryService
public abstract function GetTypeDiscoveryService(
    hierarchy : IVsHierarchy, 
    itemId : uint
) : ITypeDiscoveryService

Parameters

  • itemId
    Type: UInt32

Return Value

Type: ITypeDiscoveryService
ITypeDiscoveryService.

.NET Framework Security

See Also

Reference

DynamicTypeService Class

GetTypeDiscoveryService Overload

Microsoft.VisualStudio.Shell.Design Namespace