Redigeeri

Jagamisviis:


Assembly.IsDynamic Property

Definition

Gets a value that indicates whether the current assembly was generated dynamically in the current process by using reflection emit.

public:
 virtual property bool IsDynamic { bool get(); };
public virtual bool IsDynamic { get; }
member this.IsDynamic : bool
Public Overridable ReadOnly Property IsDynamic As Boolean

Property Value

true if the current assembly was generated dynamically in the current process; otherwise, false.

Remarks

Dynamic assemblies are represented by the derived class AssemblyBuilder.

When a dynamic assembly is saved to disk, the saved assembly is not dynamic. If the saved assembly is loaded into another application domain or process, the IsDynamic property returns false.

Applies to