Diffusion .NET Client Library
6.1.5
|
Decimal string field metadata builder. More...
Public Member Functions | |
IMDecimalStringBuilder | SetScale (int scale) |
Sets the scale of the field. More... | |
IMDecimalStringBuilder | SetDefaultValue (double value) |
Sets a default value that required occurrences of the field are to be initialised to. More... | |
IMDecimalStringBuilder | SetDefaultValue (decimal value) |
Sets a default value that required occurrences of the field are to be initalised to. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Content.Metadata.IMStringAbstractBuilder< out T, out TB > | |
TB | SetDefaultValue (string value) |
Sets a default value that required occurrences of the field are to be initialised to. More... | |
TB | SetAllowsEmpty (bool allowsEmpty) |
Sets the 'allowsEmpty' option for the field. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeBuilder< out T, out TB > | |
TB | SetName (string name) |
Set the node name. More... | |
T | Build () |
Builds the metadata node. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Content.Metadata.Record.IMNodeBuilder | |
string | GetName () |
Return the name. More... | |
Additional Inherited Members | |
Properties inherited from PushTechnology.ClientInterface.Client.Content.Metadata.Record.IMStringAbstractStringBuilder | |
bool | AllowsEmpty [get, set] |
Returns the 'allows empty' setting. More... | |
string | DefaultValue [get] |
Get the default value. More... | |
Decimal string field metadata builder.
Such a builder may be created using IMetadataFactory.DecimalBuilder.
IMDecimalStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMDecimalStringBuilder.SetDefaultValue | ( | double | value | ) |
Sets a default value that required occurrences of the field are to be initialised to.
value | An initial value. |
IMDecimalStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMDecimalStringBuilder.SetDefaultValue | ( | decimal | value | ) |
Sets a default value that required occurrences of the field are to be initalised to.
value | An initial value. |
IMDecimalStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMDecimalStringBuilder.SetScale | ( | int | scale | ) |
Sets the scale of the field.
The scale is the number of digits to the right of the decimal point.
When not explicitly set, a value of 2 is assumed.
scale | The scale of the decimal number. |