Returns true if the field is present in the message body (excluding repeating groups) or false otherwise.
Namespace: FIXForge.NET.FIXAssembly: 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 Contain( int tag ) |
Visual Basic |
---|
Public Function Contain ( _ tag As Integer _ ) As Boolean |
Visual C++ |
---|
public: bool Contain( int tag ) |
Parameters
- tag
- Type: System..::..Int32
Tag number.
Return Value
true if the field is present in the message body (excluding repeating groups) or false otherwise.Exceptions
Exception | Condition |
---|---|
FIXForge.NET.FIX..::..EngineException | The tag number does not belong to the message body. |