Collapse All Expand All

.NET Framework Class Library
MapMessage Class See Also

[TIBCO.EMS .NET client library 6.1 documentation]

Returns the short value with the specified name.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public short GetShort(
    	string name
    )

    Public Function GetShort ( _
    	name As String _
    ) As Short

    public:
    short GetShort(
    	String^ name
    )

#### Parameters

name
  Type: System..::.String
  the name of the short

#### Return Value

The short value with the specified name. Returns null if the message does not have a field set for the name.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS..::.EMSException | if the message could not be read due to an internal error
TIBCO.EMS..::.MessageFormatException | if this type conversion is invalid.

# See Also

MapMessage Class
TIBCO.EMS Namespace