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
- 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.