IMultiSelectionBroker.TransformSelection 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.
Performs the given transformation on the given Selection without updating AllSelections. The behavior of Preferred X and Y coordinates for selections that are already in the broker is undefined.
public:
Microsoft::VisualStudio::Text::Selection TransformSelection(Microsoft::VisualStudio::Text::Selection source, Microsoft::VisualStudio::Text::PredefinedSelectionTransformations transformation);
public Microsoft.VisualStudio.Text.Selection TransformSelection (Microsoft.VisualStudio.Text.Selection source, Microsoft.VisualStudio.Text.PredefinedSelectionTransformations transformation);
abstract member TransformSelection : Microsoft.VisualStudio.Text.Selection * Microsoft.VisualStudio.Text.PredefinedSelectionTransformations -> Microsoft.VisualStudio.Text.Selection
Public Function TransformSelection (source As Selection, transformation As PredefinedSelectionTransformations) As Selection
Parameters
- source
- Selection
The selection to transform
- transformation
- PredefinedSelectionTransformations
The transformation to perform
Returns
The transformed selection