GridTableStylesCollection::Contains Method (DataGridTableStyle^)

 

Gets a value indicating whether the GridTableStylesCollection contains the specified DataGridTableStyle.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
bool Contains(
	DataGridTableStyle^ table
)

Parameters

table
Type: System.Windows.Forms::DataGridTableStyle^

The DataGridTableStyle to look for.

Return Value

Type: System::Boolean

true if the specified table style exists in the collection; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: