CodeDomDocDataAdapter Class

Maintains a cached CodeTypeDeclaration that objects may use to access the code DOM indirectly. Since multiple objects may be working on the code DOM tree for the design surface at a given time, they could overwrite each other's changes if they all accessed the code DOM tree directly. In addition, this class has several properties that expose the CodeDomProvider, and contains a reference to the actual DocData object.

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

Syntax

'宣言
<CLSCompliantAttribute(False)> _
Public Class CodeDomDocDataAdapter _
    Implements IDisposable
'使用
Dim instance As CodeDomDocDataAdapter
[CLSCompliantAttribute(false)]
public class CodeDomDocDataAdapter : IDisposable
[CLSCompliantAttribute(false)]
public ref class CodeDomDocDataAdapter : IDisposable
public class CodeDomDocDataAdapter implements IDisposable

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter

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

CodeDomDocDataAdapter Members

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace