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