Επεξεργασία

Κοινή χρήση μέσω


DesignerView.OnReferenceUpdated(AssemblyName, Boolean) Method

Definition

Refreshes the list of imported namespaces based on whether the specified referenced assembly is added or removed.

public:
 void OnReferenceUpdated(System::Reflection::AssemblyName ^ updatedReference, bool isAdded);
public void OnReferenceUpdated (System.Reflection.AssemblyName updatedReference, bool isAdded);
member this.OnReferenceUpdated : System.Reflection.AssemblyName * bool -> unit
Public Sub OnReferenceUpdated (updatedReference As AssemblyName, isAdded As Boolean)

Parameters

updatedReference
AssemblyName

The referenced assembly that is added or removed.

isAdded
Boolean

true if the assembly reference is added; false if the assembly reference is removed.

Remarks

If the referenced assembly is added, the namespaces of the types found in the assembly are added to the list of imported namespaces. If the referenced assembly is removed, the namespaces of the types found in the assembly are removed from the list of imported namespaces.

Applies to