Freigeben über


IPeekableItemSourceProvider.TryCreatePeekableItemSource(ITextBuffer) Method

Definition

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.

Applies to