Compartilhar via


IChangeSourceProvider.Create(ITextBuffer) Method

Definition

Creates an instance of IChangeSource for a given ITextBuffer.

public Microsoft.VisualStudio.Text.Document.IChangeSource? Create (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member Create : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Document.IChangeSource
Public Function Create (textBuffer As ITextBuffer) As IChangeSource

Parameters

textBuffer
ITextBuffer

A text buffer to create an instance of IChangeSource.

Returns

An instance of IChangeSource or null if it cannot be created.

Applies to