Xceed Grid for WinForms v4.3 Documentation
GetEnumerator Method (WinButtonCollection)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButtonCollection Class : GetEnumerator Method
Returns an enumerator that can iterate through the WinButtonCollection.
Syntax
'Declaration
 
Public Overridable Function GetEnumerator() As IEnumerator
'Usage
 
Dim instance As WinButtonCollection

Dim value As IEnumerator

 

value = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()

Return Value

An System.Collections.IEnumerator for the WinButtonCollection.
Remarks

Enumerators are intended to be used only to read data in the collection. Enumerators cannot be used to modify the underlying collection.

The enumerator does not have exclusive access to the collection.

When an enumerator is created, it takes a snapshot of the current state of the collection. If changes are made to the collection, such as adding, modifying or deleting elements, the snapshot gets out of sync and the enumerator throws an InvalidOperationException. Two enumerators created from the same collection at the same time can have different snapshots of the collection.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinButtonCollection Class
WinButtonCollection Members