IQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer) 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.
Creates a Quick Info provider for the specified context.
public:
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSource ^ TryCreateQuickInfoSource(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource TryCreateQuickInfoSource (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member TryCreateQuickInfoSource : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource
Public Function TryCreateQuickInfoSource (textBuffer As ITextBuffer) As IQuickInfoSource
Parameters
- textBuffer
- ITextBuffer
The text buffer for which to create a provider.
Returns
A valid IQuickInfoSource instance, or null if none could be created.