TypeBuilder.IsCreated Method

Definition

Returns a value that indicates whether the current dynamic type has been created.

public:
 bool IsCreated();
public bool IsCreated ();
member this.IsCreated : unit -> bool
Public Function IsCreated () As Boolean

Returns

true if the CreateType() method has been called; otherwise, false.

Remarks

After the CreateType method has been called, the type represented by the TypeBuilder object is complete. Exceptions are thrown on any further attempts to add members or change other characteristics of the type.

Applies to