FlexReport for WinForms
Sort メソッド (ReportSession)


C1.Document アセンブリ > C1.Ssrs 名前空間 > ReportSession クラス : Sort メソッド
The ID of the report item on which to sort.
A SortDirectionEnum value containing the direction for the sort.
Indicates whether all other existing sorts should be cleared.
System.Threading.CancellationToken that can be used to cancel an action.
Applies or removes a sort for the report based on a user sort action.
シンタックス
'宣言
 
Public Function Sort( _
   ByVal sortID As System.String, _
   ByVal direction As SortDirectionEnum, _
   ByVal clear As System.Boolean, _
   ByVal cancellationToken As System.Threading.CancellationToken _
) As ReportPosition
'使用法
 
Dim instance As ReportSession
Dim sortID As System.String
Dim direction As SortDirectionEnum
Dim clear As System.Boolean
Dim cancellationToken As System.Threading.CancellationToken
Dim value As ReportPosition
 
value = instance.Sort(sortID, direction, clear, cancellationToken)
public ReportPosition Sort( 
   System.string sortID,
   SortDirectionEnum direction,
   System.bool clear,
   System.Threading.CancellationToken cancellationToken
)

パラメータ

sortID
The ID of the report item on which to sort.
direction
A SortDirectionEnum value containing the direction for the sort.
clear
Indicates whether all other existing sorts should be cleared.
cancellationToken
System.Threading.CancellationToken that can be used to cancel an action.

戻り値の型

ReportPosition object specifies position in the report where viewer should be focused after sorting.
参照

参照

ReportSession クラス
ReportSession メンバ