CodeDomDocDataAdapter Members
Include Protected Members
Include Inherited Members
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.
The CodeDomDocDataAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CodeDomDocDataAdapter | Initializes a new instance of CodeDomDocDataAdapter for the specified DocData object. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | Disposes this object. | |
Dispose(Boolean) | Disposes the resources of this object. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
Generate | Takes the current type declaration and generates it into the doc data. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetService | Gets the service of the specified type. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCodeDomChanged | Called when the code has changed externally. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
CompileUnit | Gets the entire compile unit in which the document data exists. | |
DocData | Gets the associated document data. | |
Generator | Gets a cached code generator that may be used to validate identifiers and generate code. | |
Parser | Gets the code parser. | |
Provider | Gets the code DOM provider for the file. | |
TypeDeclaration | Gets the code type declaration for this document. | |
TypeNamespace | Gets the code namespace for this document. |
Top
Events
Name | Description | |
---|---|---|
CodeDomChanged | This event is raised when an external party has made a change to the code file that would cause the code DOM to need rebuilding. |
Top
See Also
Reference
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace