IChangeSourceProvider.Create(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 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.