IMultiSelectionBroker.TryGetSelectionPresentationProperties Method

Definition

Trys to get the UI properties associated with the given Selection.

public:
 bool TryGetSelectionPresentationProperties(Microsoft::VisualStudio::Text::Selection selection, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::AbstractSelectionPresentationProperties ^ % properties);
public bool TryGetSelectionPresentationProperties (Microsoft.VisualStudio.Text.Selection selection, out Microsoft.VisualStudio.Text.AbstractSelectionPresentationProperties properties);
abstract member TryGetSelectionPresentationProperties : Microsoft.VisualStudio.Text.Selection * AbstractSelectionPresentationProperties -> bool
Public Function TryGetSelectionPresentationProperties (selection As Selection, ByRef properties As AbstractSelectionPresentationProperties) As Boolean

Parameters

selection
Selection

The selection of interest.

properties
AbstractSelectionPresentationProperties

Returns out the properties if successful.

Returns

true if the supplied selection was found and the properties returned. false otherwise.

Applies to