Прочетете на английски Редактиране

Споделяне чрез


TypeProvider.SetLocalAssembly(Assembly) Method

Definition

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

C#
public void SetLocalAssembly(System.Reflection.Assembly 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

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1