Intersoft WebCombo Documentation
GetValueByText Method
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > WebCombo Class : GetValueByText Method






text
The text to searchThe text to search

Returns a value by specified text from datasource.

Returns a value by specified text from datasource.

Syntax

Visual Basic (Declaration) 
Public Function GetValueByText( _
   ByVal text As String _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As WebCombo
Dim text As String
Dim value As Object
 
value = instance.GetValueByText(text)
C# 
public object GetValueByText( 
   string text
)
Delphi 
public function GetValueByText( 
    text: String
): TObject; 
JScript 
public function GetValueByText( 
   text : String
) : Object;
Managed Extensions for C++ 
public: Object* GetValueByText( 
   string* text
) 
C++/CLI 
public:
Object^ GetValueByText( 
   String^ text
) 

Parameters

text
The text to searchThe text to search

Return Value

ObjectObject.

Remarks

Use this method to return the corresponding value by a search text based on DataValueField and DataTextField in DataSource.

Use this method to return the corresponding value by a search text based on DataValueField and DataTextField in DataSource.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.