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
)
Parameters
- hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface of the HierarchyNode.
- itemId
Type: System.UInt32
Return Value
Type: System.ComponentModel.Design.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.