共用方式為


ITextBufferFactoryService.CreateTextBuffer Method

Creates an empty ITextBuffer with IContentType "text".

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

Syntax

'宣告
Function CreateTextBuffer As ITextBuffer
ITextBuffer CreateTextBuffer()
ITextBuffer^ CreateTextBuffer()
abstract CreateTextBuffer : unit -> ITextBuffer 
function CreateTextBuffer() : ITextBuffer

Return Value

Type: Microsoft.VisualStudio.Text.ITextBuffer
An empty ITextBuffer object.

.NET Framework Security

See Also

Reference

ITextBufferFactoryService Interface

CreateTextBuffer Overload

Microsoft.VisualStudio.Text Namespace