다음을 통해 공유


IBufferGraphFactoryService.CreateBufferGraph(ITextBuffer) Method

Definition

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.

Applies to