Partager via


ComboBox.Select(Object) Method

Definition

Selects the ComboBox.

public:
 System::Object ^ Select(System::Object ^ Replace);
public object Select (object Replace);
override this.Select : obj -> obj
Public Function Select (Replace As Object) As Object

Parameters

Replace
Object

true to replace the current selection with the ComboBox; false to extend the current selection to include any previously selected objects and the ComboBox.

Returns

This method returns a null reference (Nothing in Visual Basic); otherwise this method returns true.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to