Spread for ASP.NET 9.0 Product Documentation
GetEnumerator Method (DefaultStyleCollection)
Example 


Gets an IEnumerator object for enumerating through the NamedStyle objects in the collection.
Syntax
'Declaration
 
Public Function GetEnumerator() As IEnumerator
'Usage
 
Dim instance As DefaultStyleCollection
Dim value As IEnumerator
 
value = instance.GetEnumerator()
public IEnumerator GetEnumerator()

Return Value

IEnumerator object for enumerating the NamedStyle objects in the collection
Remarks
This method returns an object for enumerating through the NamedStyle objects in the collection.
Example
This example gets the enumerator and displays a message.
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
Dim msg As String = dsc.GetEnumerator.MoveNext.ToString();
Response.Write("alert('" + msg + "')");
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
Dim msg As String = dsc.GetEnumerator.MoveNext.ToString()
Response.Write("alert('" & msg & "')")
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

DefaultStyleCollection Class
DefaultStyleCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.