forwardTryGetTimeSpan Method    Table of ContentTryGetTimeSpan Method (Int32, TimeSpanFormat, TimeSpan)forward
FieldSet.TryGetTimeSpan Method (Int32, TimeSpan)
Gets the value associated with the specified tag.

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.7.0.0
Syntax
C#
public bool TryGetTimeSpan(
	int tag,
	out TimeSpan result
)

Parameters

tag
Type: System.Int32
Tag number.
result
Type: System.TimeSpan
When this method returns, contains the value associated with the specified tag, if the tag is found; otherwise - the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Type: Boolean
true if the FieldSet contains a value for the specified tag; otherwise - false.
See Also