forwardTryGetInteger Method    Table of ContentTryGetTimeSpan Method forward
FieldSet.TryGetLong Method
Converts the field value to its 64-bit signed integer equivalent. A returned value indicates whether the operation succeeded.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.6.2_x64 (in FIXForge.NET.FIX.Engine-net-4.6.2_x64.dll) Version: 4.6.0.0
Syntax
C#
public bool TryGetLong(
	int tag,
	out long result
)

Parameters

tag
Type: System.Int32
Tag number.
result
Type: System.Int64
When this method returns, contains the 64-bit signed integer number equivalent to the field value, if the conversion succeeded, or zero if the conversion failed. The conversion fails if the field value is absent, 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: Boolean
true if the field value was converted successfully; otherwise - false.
See Also