IMultiSelectionBroker.TryGetSelectionPresentationProperties 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.
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.