Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The value of the field if found, -1 if the field does not exist.
[This is preliminary documentation and is subject to change.]
Returns the value as an Int32 of a specified Content Studio EPT field.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- fieldName
- Type: SystemString
The name of the field. This name cannot be null.
Return Value
Type: Int32The value of the field if found, -1 if the field does not exist.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The argument FieldName cannot be null. |
FormatException | The value cannot be converted to an integer (i.e. the field value does not consist solely of an optional negative sign followed by a sequence of digits ranging from 0 to 9). |
OverflowException | The field value represents a number less than MinValue or greater than MaxValue. |
See Also