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
'宣言
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
- textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The ITextBuffer for which to create the IBufferGraph.
Return Value
Type: Microsoft.VisualStudio.Text.Projection.IBufferGraph
The IBufferGraph.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.