Redigera

Dela via


TypeProvider.RefreshCodeCompileUnit(CodeCompileUnit, EventHandler) Method

Definition

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