Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Content.Metadata.IMIntegerString Interface Reference

Integer field metadata definition. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Content.Metadata.IMIntegerString:
PushTechnology.ClientInterface.Client.Content.Metadata.IMString PushTechnology.ClientInterface.Client.Content.Metadata.IMField PushTechnology.ClientInterface.Client.Content.Metadata.IMNode

Additional Inherited Members

Detailed Description

Integer field metadata definition.

This represents a IMString field containing an integer number representation.

Represented internally as a decimal.

It is possible to parse the value of an item of this type from any object whose object.ToString method returns a value that can be successfully supplied to the decimal constructor. In addition, if the field IMString.AllowsEmpty permits it then an empty field (zero length string) could also be parsed.

The easiest way to create an integer metadata field is using IMetadataFactory.Integer(string) or one of its variants that allow an initial value to be supplied. For example:

var factory = Diffusion.Metadata; var integer = factory.Integer( "A", 100 );

Alternatively for more complex requirements a IMIntegerStringBuilder may be used.


The documentation for this interface was generated from the following file: