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
OrderDefinition..::Add Method

Adds one or more fields to the order definition with the given direction.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)

# Syntax

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

    public OrderDefinition Add(
    	OrderDefinition..::..Direction dir,
    	params string[] newfields
    )

    Public Function Add ( _
    	dir As OrderDefinition..::..Direction, _
    	ParamArray newfields As String() _
    ) As OrderDefinition

    public:
    OrderDefinition^ Add(
    	OrderDefinition..::..Direction dir,
    	... array<String^>^ newfields
    )

#### Parameters

dir
  OrderDefinition..::..Direction
  the direction on which to sort the given fields.

newfields
  array<String>[]()[][]
  the fields on which to sort.

#### Return Value

# See Also

OrderDefinition Class
StreamBase.LiveView.API Namespace