Version

GetText(Object,Int32) Method

Searches for the value and returns the associcated text. Note: it also returns the index which should be used on the next call to optimize the search. The item at that index should be checked first for a match.
Syntax
'Declaration
 
Overloads Function GetText( _
   ByVal dataValue As Object, _
   ByRef index As Integer _
) As String
string GetText( 
   object dataValue,
   ref int index
)

Parameters

dataValue
The underlying data value of the item whose text should be returned.
index
A reference to an index that will be updated with the index of the found item.

Return Value

The text associated with the dataValue.
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