TypeBuilder.IsCreated Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.