RichTextBox.Select(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects the RichTextBox.
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 RichTextBox; false
to extend the current selection to include any previously selected objects and the RichTextBox.
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.