Gets an enumerator for enumerating through the defined border properties.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function GetEnumerator() As IEnumerator |
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.IEnumeratorenmr;
enmr=FarPoint.Web.Spread.BorderProperty.GetEnumerator();
enmr.Reset();
While(enmr.MoveNext())
{
TextBox1.Text=Convert.ToString(enmr.Current);
} |
Visual Basic | Copy Code |
---|
DimbordAsFarPoint.Web.Spread.BorderProperty
DimenmrAsSystem.Collections.IEnumerator
enmr=bord.GetEnumerator
enmr.Reset()
While(enmr.MoveNext)
TextBox1.Text=Convert.ToString(enmr.Current)
EndWhile |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also