<Class> Tag
Causes the emulator to create an object of the specified class (type).
Syntax
<Class objectType="classname" format="formatstring">
Creation Parameters
</Class>
Parameters
- objectType
The name of the class to create. This attribute is optional. - format
A string of values that are parsed by the class's Parse method and used to initialize the object.
Remarks
The objects created by this tag must be derived from the EmulatorComponent class.
The attributes and parameters of this tag are all optional. If the objectType attribute is not specified, the emulator creates an EmulatorComponent object. The format attribute contains a string that holds initialization values for the object. These values are parsed by the class's Parse method.
You can pass parameters to the class's constructors by specifying a comma-separated list of creation parameters.
Occurs in |
---|
<Emulator> |
Version Information
Available in .NET Micro Framework version 2.0