Spread for ASP.NET 7.0 Product Documentation
GetEnumerator Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > BorderProperty Class : GetEnumerator Method


Glossary Item Box

Gets an enumerator for enumerating through the defined border properties.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetEnumerator() As IEnumerator
Visual Basic (Usage)Copy Code
Dim value As IEnumerator
 
value = BorderProperty.GetEnumerator()
C# 
public static IEnumerator GetEnumerator()

Return Value

IEnumerator interface for enumerating through all the defined BorderProperty objects

Example

This example creates an IEnumerator and uses the GetEnumerator method to return a BorderProperty to a text box.
C#Copy Code
System.Collections.IEnumerator enmr;
enmr=FarPoint.Web.Spread.BorderProperty.GetEnumerator();
enmr.Reset();
While(enmr.MoveNext())
{
TextBox1.Text=Convert.ToString(enmr.Current);
}
Visual BasicCopy Code
Dim bord As FarPoint.Web.Spread.BorderProperty
Dim enmr As System.Collections.IEnumerator
enmr=bord.GetEnumerator
enmr.Reset()
While(enmr.MoveNext)
TextBox1.Text=Convert.ToString(enmr.Current)
End While

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.