DataGridCellInfo.Inequality(DataGridCellInfo, DataGridCellInfo) 運算子

定義

表示兩個 DataGridCellInfo 執行個體是否不相等。

public:
 static bool operator !=(System::Windows::Controls::DataGridCellInfo cell1, System::Windows::Controls::DataGridCellInfo cell2);
public static bool operator != (System.Windows.Controls.DataGridCellInfo cell1, System.Windows.Controls.DataGridCellInfo cell2);
static member op_Inequality : System.Windows.Controls.DataGridCellInfo * System.Windows.Controls.DataGridCellInfo -> bool
Public Shared Operator != (cell1 As DataGridCellInfo, cell2 As DataGridCellInfo) As Boolean

參數

cell1
DataGridCellInfo

要比較的第一個結構。

cell2
DataGridCellInfo

要比較的第二個結構。

傳回

如果兩個結構不是表示相同的儲存格,則為 true,否則為 false

備註

這個運算子會 Column 比較屬性、 Item 屬性,以及 DataGrid 擁有儲存格容器的 。

適用於