IBufferGraphFactoryService.CreateBufferGraph(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.
Initializes a new instance of an IBufferGraph for the specified ITextBuffer.
public:
Microsoft::VisualStudio::Text::Projection::IBufferGraph ^ CreateBufferGraph(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public:
Microsoft::VisualStudio::Text::Projection::IBufferGraph ^ CreateBufferGraph(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
Microsoft::VisualStudio::Text::Projection::IBufferGraph CreateBufferGraph(Microsoft::VisualStudio::Text::ITextBuffer const & textBuffer);
public Microsoft.VisualStudio.Text.Projection.IBufferGraph CreateBufferGraph (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member CreateBufferGraph : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.Projection.IBufferGraph
Public Function CreateBufferGraph (textBuffer As ITextBuffer) As IBufferGraph
Parameters
- textBuffer
- ITextBuffer
The ITextBuffer for which to create the IBufferGraph.
Returns
The IBufferGraph.
Exceptions
if textBuffer
is null.