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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > XMLSSAttributeCollection Class > IndexOf Method : IndexOf(String,String) Method
A string representing the prefix of the XMLSSAttribute to locate.
A string representing the local name of the XMLSSAttribute to locate.
Searches for the XMLSSAttribute with the specified prefix and local name and returns the zero-based index of the first occurrence within the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal prefix As String, _
   ByVal localName As String _
) As Integer
'Usage
 
Dim instance As XMLSSAttributeCollection
Dim prefix As String
Dim localName As String
Dim value As Integer
 
value = instance.IndexOf(prefix, localName)
public int IndexOf( 
   string prefix,
   string localName
)

Parameters

prefix
A string representing the prefix of the XMLSSAttribute to locate.
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 prefix and 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