Method | Description | |
---|---|---|
CreateContent ( ) : IMContent |
A simple example of creating content metadata with two records.
|
|
CreateContentRepeating ( ) : IMContent |
An example of how to use a content builder to create content metadat with a single record type that can occur zero to n times.
|
|
CreateCurrentRecord ( ) : IMRecord |
This creates a record with two fields, a string called "Currency" and a single decimal string called "Rate" with a default value of 1.00.
|
|
CreateDecimal ( string name, int scale, double value ) : IMDecimalString |
Example of using a decimal field builder. This is purely to demonstrate the use of a builder as in most cases one of the factory convenience methods would be much easier to use to create a new field metadata definition.
|
|
CreateMultipleRateCurrencyRecord ( string name, int occurs ) : IMRecord |
This creates a record with two fields, a string called "Currency" and a decimal string called "Rate" with a default value of 1.00 which repeats a specified number of times.
|
|
CreateNameAndAddressRecord ( ) : IMRecord |
Creates a simple name and address record definition with fixed name single multiplicity fields.
|
public CreateContentRepeating ( ) : IMContent | ||
return | IMContent |
public CreateDecimal ( string name, int scale, double value ) : IMDecimalString | ||
name | string | The field name. |
scale | int | The scale of the decimal value, that is, the number of digits to the right of the /// decimal point. |
value | double | The default value. |
return | IMDecimalString |
public CreateMultipleRateCurrencyRecord ( string name, int occurs ) : IMRecord | ||
name | string | The record name. |
occurs | int | The number of occurrences of the "Rate" field. |
return | IMRecord |
public CreateNameAndAddressRecord ( ) : IMRecord | ||
return | IMRecord |