Visual Studio SDK
DynamicTypeService Class

Updated: November 2007

Provides instances of ITypeResolutionService for a project.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

Visual Basic (Declaration)
<CLSCompliantAttribute(False)> _
<GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")> _
Public MustInherit Class DynamicTypeService
Visual Basic (Usage)
Dim instance As DynamicTypeService
C#
[CLSCompliantAttribute(false)]
[GuidAttribute("FC43BF19-86FE-4255-901E-15C8D236F3A4")]
public abstract class DynamicTypeService
Visual C++
[CLSCompliantAttribute(false)]
[GuidAttribute(L"FC43BF19-86FE-4255-901E-15C8D236F3A4")]
public ref class DynamicTypeService abstract
JScript
public abstract class DynamicTypeService
Remarks

This implementation of ITypeResolutionServiceProvider tracks project lifetimes and automatically shuts down a type resolution service when the project closes. Most designer objects rely on ITypeResolutionService. It is the responsibility of the individual designer loaders to add this service to the service container.

Type resolution in Visual Studio is based on resolving a type name to a reference. References can take several forms: references to files on disk (either directly or through the GAC), references to projects, or references to output generated by the compiler.

Inheritance Hierarchy

System..::.Object
  Microsoft.VisualStudio.Shell.Design..::.DynamicTypeService
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Page view tracker