The MWField
class holds a single field reference
in an MWStruct
object. This class is noncreatable
and contains four properties/methods:
The name of the field (read only).
Stores the field's value (read/write). The Value
property
is the default property of the MWField
class. The
value of a field can be any type that is coercible to a Variant
,
as well as object types.
Stores a reference to an MWFlags
object.
This property sets or gets the array formatting and data conversion
flags for a particular field. Each field in a structure has its own MWFlags
property.
This property overrides the value of any flags set on the object whose
methods are called.
Creates a copy of an MWField
object.
Argument | Type | Description |
---|---|---|
|
| Reference to an uninitialized |
None.
Clone
allocates a new MWField
object
and creates a deep copy of the object's contents. Call this function
when a separate object is required instead of a shared copy of an
existing object reference.