Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ComboBox.GetItemText Method

Returns the text representation of the specified item.

Namespace: Microsoft.Dynamics.Mobile.Framework.Controls
Assembly: Microsoft.Dynamics.Mobile.Framework.Controls (in microsoft.dynamics.mobile.framework.controls.dll)

public string GetItemText (
	Object item
)

Parameters

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

ADD
Show:
© 2015 Microsoft