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
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe IVsHierarchy interface of the HierarchyNode.
- itemId
Type: UInt32
Return Value
Type: ITypeDiscoveryService
ITypeDiscoveryService.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.