Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
true if s was converted successfully; otherwise, false.
[This is preliminary documentation and is subject to change.]
Converts the string representation of a number to its UnitId equivalent. A return value indicates whether the operation succeeded.
Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- s
- Type: SystemString
A string containing a number to convert. - result
- Type: ContentStudio.DocumentUnitId
When this method returns, contains the UnitId value equivalent to the number contained in s, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the s parameter is null, is not of the correct format, or represents a number less than MinValue or greater than MaxValue. This parameter is passed uninitialized.
Return Value
Type: Booleantrue if s was converted successfully; otherwise, false.
See Also