GridTableStylesCollection.Contains Method (DataGridTableStyle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: