IBufferGraphFactoryService.CreateBufferGraph Method

Initializes a new instance of an IBufferGraph for the specified ITextBuffer.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Function CreateBufferGraph ( _
    textBuffer As ITextBuffer _
) As IBufferGraph
IBufferGraph CreateBufferGraph(
    ITextBuffer textBuffer
)
IBufferGraph^ CreateBufferGraph(
    ITextBuffer^ textBuffer
)
abstract CreateBufferGraph : 
        textBuffer:ITextBuffer -> IBufferGraph 
function CreateBufferGraph(
    textBuffer : ITextBuffer
) : IBufferGraph

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Projection.IBufferGraph
The IBufferGraph.

.NET Framework Security

See Also

Reference

IBufferGraphFactoryService Interface

Microsoft.VisualStudio.Text.Projection Namespace