SortEventArgs 類別
提供 Sort 事件的資料。
繼承階層架構
Object
EventArgs
CancelEventArgs
Microsoft.Reporting.WinForms.SortEventArgs
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 Microsoft.ReportViewer.WinForms.dll 中)
語法
'宣告
<ComVisibleAttribute(False)> _
Public NotInheritable Class SortEventArgs _
Inherits CancelEventArgs
[ComVisibleAttribute(false)]
public sealed class SortEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class SortEventArgs sealed : public CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type SortEventArgs =
class
inherit CancelEventArgs
end
public final class SortEventArgs extends CancelEventArgs
SortEventArgs 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
SortEventArgs | 建構 SortEventArgs 物件。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
Cancel | 取得或設定值,這個值表示是否應該取消事件。 (繼承自 CancelEventArgs)。 | |
ClearSort | 指出是否應該清除所有其他現有的排序。 | |
SortDirection | 取得指出排序方向的列舉值。 | |
SortId | 取得排序動作的唯一識別碼。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。 | |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 | |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
備註
當發生 Sort 事件時,這會傳遞至 SortEventHandler 委派。
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。