Freigeben über


GridTableStylesCollection.Remove-Methode

Entfernt den angegebenen DataGridTableStyle.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Sub Remove ( _
    table As DataGridTableStyle _
)
'Usage
Dim instance As GridTableStylesCollection
Dim table As DataGridTableStyle

instance.Remove(table)
public void Remove (
    DataGridTableStyle table
)
public:
void Remove (
    DataGridTableStyle^ table
)
public void Remove (
    DataGridTableStyle table
)
public function Remove (
    table : DataGridTableStyle
)

Parameter

Hinweise

Ermitteln Sie vor dem Verwenden der Remove-Methode mithilfe der Contains-Methode, ob ein bestimmter DataGridTableStyle vorhanden ist.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

GridTableStylesCollection-Klasse
GridTableStylesCollection-Member
System.Windows.Forms-Namespace
Contains
Add
RemoveAt
DataGrid.TableStyles-Eigenschaft