Converts the field value to its 32-bit signed integer equivalent. A return value indicates whether the operation succeeded.

Namespace: FIXForge.NET.FIX
Assembly: FIXForge.NET.FIX.Engine-net-3.5 (in FIXForge.NET.FIX.Engine-net-3.5.dll) Version: 2.79.1.0

Syntax

C#
public bool TryGetInteger(
	int tag,
	int repeatingGroupEntryIndex,
	out int result
)
Visual Basic
Public Function TryGetInteger ( _
	tag As Integer, _
	repeatingGroupEntryIndex As Integer, _
	<OutAttribute> ByRef result As Integer _
) As Boolean
Visual C++
public:
bool TryGetInteger(
	int tag, 
	int repeatingGroupEntryIndex, 
	[OutAttribute] int% result
)

Parameters

tag
Type: System..::..Int32
Tag number.
repeatingGroupEntryIndex
Type: System..::..Int32
Index of the repeating group entry (starts at 0).
result
Type: System..::..Int32%
When this method returns, contains the 32-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

true if the field value was converted successfully; otherwise, false.

See Also