forwardTryGet Method    Table of ContentTryGet Method (Int32, StringBuilder)forward
FieldSet.TryGet Method (Int32, String)
Gets the value associated with the specified tag.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax
C#
public bool TryGet(
	int tag,
	out string result
)

Parameters

tag
Type: System.Int32
Tag number.
result
Type: System.String
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