TextPoint::TryToShow Method (vsPaneShowHow, Object^)
Visual Studio 2015
Attempts to display the text point's location.
Assembly: EnvDTE (in EnvDTE.dll)
bool TryToShow(
vsPaneShowHow How = vsPaneShowHow::vsPaneShowCentered,
Object^ PointOrCount
)
Parameters
- How
-
Type:
EnvDTE::vsPaneShowHow
Optional. A vsPaneShowHow constant that determines how the code is displayed.
- PointOrCount
-
Type:
System::Object^
Optional. The endpoint of the selected range of text to be displayed. It can be either a TextPoint or an integer.
Return Value
Type: System::BooleanA Boolean value indicating true if the span of text fits within the current code editor, false if not.
Show: