Udostępnij za pośrednictwem


IEditorOperations3.DuplicateSelection Method

Definition

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.

Applies to