Constructor SingleField
SingleField(String, Single, Field.Store)
Creates a stored or un-stored SingleField with the provided value
and default precisionStep
PRECISION_STEP_DEFAULT
(4).
Declaration
public SingleField(string name, float value, Field.Store stored)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Single | value | 32-bit |
Field.Store | stored | YES if the content should also be stored |
SingleField(String, Single, FieldType)
Expert: allows you to customize the FieldType.
Declaration
public SingleField(string name, float value, FieldType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Single | value | 32-bit |
FieldType | type | customized field type: must have NumericType of SINGLE. |