Edit

Share via


TypeProvider.SetLocalAssembly(Assembly) Method

Definition

Sets the value of the local Assembly to the referenced Assembly .

public:
 void SetLocalAssembly(System::Reflection::Assembly ^ assembly);
public void SetLocalAssembly (System.Reflection.Assembly assembly);
member this.SetLocalAssembly : System.Reflection.Assembly -> unit
Public Sub SetLocalAssembly (assembly As Assembly)

Parameters

assembly
Assembly

The Assembly used to set this value.

Remarks

The TypesChanged is raised when this method is invoked. Call SetLocalAssembly(Assembly) before you call AddAssembly(Assembly) otherwise it has no affect on the TypeProvider.

Applies to