Converts the field value to its Unicode character 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 TryGetChar(
	int tag,
	out char result
)
Visual Basic
Public Function TryGetChar ( _
	tag As Integer, _
	<OutAttribute> ByRef result As Char _
) As Boolean
Visual C++
public:
bool TryGetChar(
	int tag, 
	[OutAttribute] wchar_t% result
)

Parameters

tag
Type: System..::..Int32
Tag number.
result
Type: System..::..Char%
When this method returns, contains the Unicode character equivalent to the field value, if the conversion succeeded, or an undefined value if the conversion failed. The conversion fails if the field value is absent or its length is not 1. This parameter is passed uninitialized.

Return Value

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

See Also