IEditorOperations3.DuplicateSelection 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.
Duplicates the current selection, or the whole line (if there is no selection), without changing the clipboard.
public:
bool DuplicateSelection();
public bool DuplicateSelection ();
abstract member DuplicateSelection : unit -> bool
Public Function DuplicateSelection () As Boolean
Returns
true
if the edit succeeded, otherwise false
.
Remarks
Multiple selection cases like block selection will treat each selection independently.