System.Windows.Forms.GridColumnStylesCollection.Contains Method

Gets a value indicating whether the System.Windows.Forms.GridColumnStylesCollection contains the System.Windows.Forms.DataGridColumnStyle with the specified name.

Syntax

public bool Contains (string name)

Parameters

name
The DataGridColumnStyle.MappingName of the desired System.Windows.Forms.DataGridColumnStyle.

Returns

true if the collection contains the System.Windows.Forms.DataGridColumnStyle; otherwise, false.

Remarks

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0