Xceed Grid for WinForms v4.3 Documentation
IndexOf(String) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > XMLSSAttributeCollection Class > IndexOf Method : IndexOf(String) Method
A string representing the local name of the XMLSSAttribute to locate.
Searches for the XMLSSAttribute using only the specified local name and returns the zero-based index of the first occurrence within the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _

   ByVal localName As String _

) As Integer
'Usage
 
Dim instance As XMLSSAttributeCollection

Dim localName As String

Dim value As Integer

 

value = instance.IndexOf(localName)
public int IndexOf( 

   string localName

)

Parameters

localName
A string representing the local name of the XMLSSAttribute to locate.

Return Value

The zero-based index of the first occurrence of an XMLSSAttribute matching localName within the entire collection, if found; otherwise, returns -1.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XMLSSAttributeCollection Class
XMLSSAttributeCollection Members
Overload List