共用方式為


ShellTextBuffer Class

Definition

Important

This API is not CLS-compliant.

public ref class ShellTextBuffer : Microsoft::SqlServer::Management::UI::VSIntegration::TextBuffer, Microsoft::VisualStudio::TextManager::Interop::IVsChangeClusterEvents, Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferDataEvents, Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferEvents, Microsoft::VisualStudio::TextManager::Interop::IVsTextStreamEvents
[System.CLSCompliant(false)]
public class ShellTextBuffer : Microsoft.SqlServer.Management.UI.VSIntegration.TextBuffer, Microsoft.VisualStudio.TextManager.Interop.IVsChangeClusterEvents, Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents, Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferEvents, Microsoft.VisualStudio.TextManager.Interop.IVsTextStreamEvents
[<System.CLSCompliant(false)>]
type ShellTextBuffer = class
    inherit TextBuffer
    interface IVsTextStreamEvents
    interface IVsTextBufferDataEvents
    interface IVsChangeClusterEvents
    interface IVsTextBufferEvents
Public Class ShellTextBuffer
Inherits TextBuffer
Implements IVsChangeClusterEvents, IVsTextBufferDataEvents, IVsTextBufferEvents, IVsTextStreamEvents
Inheritance
ShellTextBuffer
Attributes
Implements

Constructors

ShellTextBuffer()
ShellTextBuffer(IVsTextStream, Object)

Fields

markers

Properties

DetectLangSid
FileName
IsDirty
IsLoaded
IsReadOnly
LockEvents (Inherited from TextBuffer)
Moniker
Text
TextLength
TextStream
UndoEnabled
VsTextBuffer
WithEncoding

Methods

Checkout()
Clear()
ClearAllMarkers()
ClearMarkers(Int32)
CreateStreamMarker(Int32, Int32, Int32)
CreateStreamMarker(Int32, Int32, Int32, Int32, TextSpan)
Dirty()
Dispose()
GetMarkerTypeError()
GetMarkerTypeTemplateParam()
GetStreamMarker(Int32)
GetText(Int32, Int32)
IgnoreFileChanges(Boolean)
OnAttributeChanged(EventArgs) (Inherited from TextBuffer)
OnTextChanged(EventArgs) (Inherited from TextBuffer)
RegisterTextMarkers(IVsTextManager)
ReplaceText(Int32, Int32, String)
SetMarkerTooltip(Int32, String)
SetSite(Object)
ShowCode()
ShowCode(Int32)

Events

AttributeChanged (Inherited from TextBuffer)
Loaded
OnNewLangSvc
TextChanged (Inherited from TextBuffer)

Explicit Interface Implementations

IVsChangeClusterEvents.OnChangeClusterClosing(UInt32)
IVsChangeClusterEvents.OnChangeClusterOpening(UInt32)
IVsTextBufferDataEvents.OnFileChanged(UInt32, UInt32)
IVsTextBufferDataEvents.OnLoadCompleted(Int32)
IVsTextBufferEvents.OnNewLanguageService(Guid)
IVsTextStreamEvents.OnChangeStreamAttributes(Int32, Int32)
IVsTextStreamEvents.OnChangeStreamText(Int32, Int32, Int32, Int32)

Applies to