forwardTryGetTimeSpan Method (Int32, TimeSpan)   Table of ContentTryGetTimestamp Method forward
FieldSet.TryGetTimeSpan Method (Int32, TimeSpanFormat, TimeSpan)
Gets the value with the given format 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,
	TimeSpanFormat format,
	out TimeSpan result
)

Parameters

tag
Type: System.Int32
Tag number.
format
Type: FIXForge.NET.FIX.TimeSpanFormat
TimeSpan format.
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