다음을 통해 공유


IMultiSelectionBroker.TransformSelection Method

Definition

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

Applies to