CodeDomDocDataAdapter::CompileUnit Property
Visual Studio 2015
Gets the entire compile unit in which the document data exists.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Property Value
Type: System.CodeDom::CodeCompileUnit^CodeCompileUnit, or null if the document data has not been set.
Since this method causes the CodeCompileUnit to be cached, it adds an event handler to listen for changes to the document data and then reset the compile unit.
Show: