Partager via


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.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

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

Syntax

'Déclaration
<CLSCompliantAttribute(False)> _
Public Class CodeDomDocDataAdapter _
    Implements IDisposable
'Utilisation
Dim instance As CodeDomDocDataAdapter
[CLSCompliantAttribute(false)]
public class CodeDomDocDataAdapter : IDisposable
[CLSCompliantAttribute(false)]
public ref class CodeDomDocDataAdapter : IDisposable
[<CLSCompliantAttribute(false)>]
type CodeDomDocDataAdapter =  
    class
        interface IDisposable
    end
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