Spread for ASP.NET 10 Product Documentation
GetEnumerator Method (BorderProperty)
Example 


Gets an enumerator for enumerating through the defined border properties.
Syntax
'Declaration
 
Public Shared Function GetEnumerator() As IEnumerator
'Usage
 
Dim value As IEnumerator
 
value = BorderProperty.GetEnumerator()
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.
System.Collections.IEnumerator enmr;
enmr=FarPoint.Web.Spread.BorderProperty.GetEnumerator();
enmr.Reset();
while(enmr.MoveNext())
{
TextBox1.Text=Convert.ToString(enmr.Current);
}
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

BorderProperty Class
BorderProperty Members

 

 


Copyright © GrapeCity, inc. All rights reserved.