IPeekBroker::CanTriggerPeekSession Method (PeekSessionCreationOptions^, Predicate<String^>^)
Visual Studio 2015
Determines whether a Peek session can be triggered at the caret position, without actually triggering it. Note that an ability to trigger a Peek session doesn't mean that when triggered the session will necessarily provide results.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
bool CanTriggerPeekSession(
PeekSessionCreationOptions^ options,
Predicate<String^>^ isStandaloneFilePredicate
)
Parameters
- options
-
Type:
Microsoft.VisualStudio.Language.Intellisense::PeekSessionCreationOptions^
The options needed to create a Peek session.
- isStandaloneFilePredicate
-
Type:
System::Predicate<String^>^
A predicate used to determine whether given file is a standalone (not part of a project) file.
Return Value
Type: System::BooleanTrue if a Peek session can be triggered at the caret position, false otherwise.
Show: