TypeProvider.RefreshCodeCompileUnit(CodeCompileUnit, EventHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the CodeCompileUnit reference associated with this instance.
public:
void RefreshCodeCompileUnit(System::CodeDom::CodeCompileUnit ^ codeCompileUnit, EventHandler ^ refresher);
public void RefreshCodeCompileUnit (System.CodeDom.CodeCompileUnit codeCompileUnit, EventHandler refresher);
member this.RefreshCodeCompileUnit : System.CodeDom.CodeCompileUnit * EventHandler -> unit
Public Sub RefreshCodeCompileUnit (codeCompileUnit As CodeCompileUnit, refresher As EventHandler)
Parameters
- codeCompileUnit
- CodeCompileUnit
The CodeCompileUnit to refresh with.
- refresher
- EventHandler
The EventHandler to delegate this event to.
Exceptions
codeCompileUnit
is a null reference (Nothing
in Visual Basic).
This instance already references the subject CodeCompileUnit.
Remarks
The TypesChanged is raised when this method is invoked.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.