Spread Windows Forms 10.0 Product Documentation
FindString Method


The System.String to search for.
The zero-based index of the item before the first item to be searched.
The System.Int32 value of the column to search in.
Finds the first item after the given index which starts with the given string.
Syntax
'Declaration
 
Public Function FindString( _
   ByVal s As String, _
   ByVal startIndex As Integer, _
   ByVal findTargetColumnIndex As Integer _
) As Integer
'Usage
 
Dim instance As ListItemCollectionInfo
Dim s As String
Dim startIndex As Integer
Dim findTargetColumnIndex As Integer
Dim value As Integer
 
value = instance.FindString(s, startIndex, findTargetColumnIndex)
public int FindString( 
   string s,
   int startIndex,
   int findTargetColumnIndex
)

Parameters

s
The System.String to search for.
startIndex
The zero-based index of the item before the first item to be searched.
findTargetColumnIndex
The System.Int32 value of the column to search in.

Return Value

The zero-based index of the first item found; returns -1 if no match is found.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ListItemCollectionInfo Class
ListItemCollectionInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.