Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
Tuple..::GetLong Method (String)

Return the value of a long field, given its name

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public virtual long GetLong(
    	string sFieldName
    )

    Public Overridable Function GetLong ( _
    	sFieldName As String _
    ) As Long

    public:
    virtual long long GetLong(
    	String^ sFieldName
    )

#### Parameters

sFieldName
  String

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..TupleFieldTypingException | Field is of the wrong type
StreamBase.SB..::..TupleBadFieldException |
StreamBase.SB..::..NullValueException | Field is null
StreamBase.SB..::..StreamBaseException |

# See Also

Tuple Class
GetLong Overload
StreamBase.SB Namespace