IMultiSelectionBroker.PerformActionOnAllSelections 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.
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>)
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)
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
The manipulation to perform.
Remarks
Overlapping selections will be merged after all manipulations have been applied.