IPeekableItemSourceProvider.TryCreatePeekableItemSource(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 IPeekableItem provider for the given text buffer.
public:
Microsoft::VisualStudio::Language::Intellisense::IPeekableItemSource ^ TryCreatePeekableItemSource(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Language.Intellisense.IPeekableItemSource TryCreatePeekableItemSource (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member TryCreatePeekableItemSource : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Language.Intellisense.IPeekableItemSource
Public Function TryCreatePeekableItemSource (textBuffer As ITextBuffer) As IPeekableItemSource
Parameters
- textBuffer
- ITextBuffer
The text buffer to create a provider for.
Returns
A valid IPeekableItemSource instance, or null if none could be created.