다음을 통해 공유


IMultiSelectionBroker.PerformActionOnAllSelections Method

Definition

Overloads

PerformActionOnAllSelections(Action<ISelectionTransformer>)

Performs a custom action on all Selections contained by TextView.

PerformActionOnAllSelections(PredefinedSelectionTransformations)

Performs a predefined manipulation on all Selections contained by TextView.

PerformActionOnAllSelections(Action<ISelectionTransformer>)

Performs a custom action on all Selections contained by TextView.

public:
 void PerformActionOnAllSelections(Action<Microsoft::VisualStudio::Text::ISelectionTransformer ^> ^ action);
public void PerformActionOnAllSelections (Action<Microsoft.VisualStudio.Text.ISelectionTransformer> action);
abstract member PerformActionOnAllSelections : Action<Microsoft.VisualStudio.Text.ISelectionTransformer> -> unit
Public Sub PerformActionOnAllSelections (action As Action(Of ISelectionTransformer))

Parameters

action
Action<ISelectionTransformer>

The action to perform. This will be called once per Selection and the supplied ISelectionTransformer contains methods to adjust an individual Selection.

Remarks

Overlapping selections will be merged after all actions have been performed.

Applies to

PerformActionOnAllSelections(PredefinedSelectionTransformations)

Performs a predefined manipulation on all Selections contained by TextView.

public:
 void PerformActionOnAllSelections(Microsoft::VisualStudio::Text::PredefinedSelectionTransformations action);
public void PerformActionOnAllSelections (Microsoft.VisualStudio.Text.PredefinedSelectionTransformations action);
abstract member PerformActionOnAllSelections : Microsoft.VisualStudio.Text.PredefinedSelectionTransformations -> unit
Public Sub PerformActionOnAllSelections (action As PredefinedSelectionTransformations)

Parameters

action
PredefinedSelectionTransformations

The manipulation to perform.

Remarks

Overlapping selections will be merged after all manipulations have been applied.

Applies to