GridTableStylesCollection.Remove(DataGridTableStyle) GridTableStylesCollection.Remove(DataGridTableStyle) GridTableStylesCollection.Remove(DataGridTableStyle) GridTableStylesCollection.Remove(DataGridTableStyle) Method

定義

移除指定的 DataGridTableStyleRemoves the specified DataGridTableStyle.

public:
 void Remove(System::Windows::Forms::DataGridTableStyle ^ table);
public void Remove (System.Windows.Forms.DataGridTableStyle table);
member this.Remove : System.Windows.Forms.DataGridTableStyle -> unit
Public Sub Remove (table As DataGridTableStyle)

參數

備註

使用Contains方法來判斷特定DataGridTableStyle存在,再使用Remove方法。Use the Contains method to determine if a specific DataGridTableStyle exists before using the Remove method.

適用於

另請參閱