Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function GetEnumerator() As IEnumerator |
Return Value
IEnumerator object for enumerating the NamedStyle objects in the collection
Remarks
Example
This example gets the enumerator and displays a message.
| C# | Copy Code |
|---|
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
Dim msg As String = dsc.GetEnumerator.MoveNext.ToString();
Response.Write("alert('" + msg + "')");
|
| Visual Basic | Copy Code |
|---|
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
Dim msg As String = dsc.GetEnumerator.MoveNext.ToString()
Response.Write("alert('" & msg & "')") |
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