GetItemText Method
Collapse the table of content
Expand the table of content

ComboBox.GetItemText Method

Returns the text representation of the specified item.

Namespace: Microsoft.Dynamics.Mobile.Framework.Controls
Assembly: Microsoft.Dynamics.Mobile.Framework.Controls (in

public string GetItemText (
	Object item



The object that contains the contents to display.

Return Value

If the System.Windows.Forms.ListControl.DisplayMember property is not specified, the value returned by System.Windows.Forms.ListControl.GetItemText(System.Object) is the value of the item's ToString method. Otherwise, the method returns the string value of the member specified in the System.Windows.Forms.ListControl.DisplayMember property for the object specified in the item parameter.

Community Additions

© 2016 Microsoft