Version

GetValue(String,Int32,Int32,Boolean) Method

Same as GetValueFromText but allows for a partial string match and the ability to start the search from a specific index.
Syntax
'Declaration
 
Overloads Function GetValue( _
   ByVal text As String, _
   ByRef index As Integer, _
   ByVal beginAtIndex As Integer, _
   ByVal partial As Boolean _
) As Object
object GetValue( 
   string text,
   ref int index,
   int beginAtIndex,
   bool partial
)

Parameters

text
The display text used to located the list item.
index
A reference to an index that will be updated with the index of the found item.
beginAtIndex
The index to begin the search at.
partial
Specifies whether to allow partial string matches.

Return Value

The underlying data value of the item with the specified text.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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