IEditorOperations.CopySelection 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.
Copies the selected text to the clipboard.
public:
bool CopySelection();
public:
bool CopySelection();
bool CopySelection();
public bool CopySelection ();
abstract member CopySelection : unit -> bool
Public Function CopySelection () As Boolean
Returns
true
if the clipboard operation succeeded, otherwise false
.
Exceptions
is thrown if there is not sufficient memory to complete the operation.