ShellTextBuffer 类

定义

重要

此 API 不符合 CLS。

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
继承
ShellTextBuffer
属性
实现

构造函数

ShellTextBuffer()
ShellTextBuffer(IVsTextStream, Object)

字段

markers

属性

DetectLangSid
FileName
IsDirty
IsLoaded
IsReadOnly
LockEvents (继承自 TextBuffer)
Moniker
Text
TextLength
TextStream
UndoEnabled
VsTextBuffer
WithEncoding

方法

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) (继承自 TextBuffer)
OnTextChanged(EventArgs) (继承自 TextBuffer)
RegisterTextMarkers(IVsTextManager)
ReplaceText(Int32, Int32, String)
SetMarkerTooltip(Int32, String)
SetSite(Object)
ShowCode()
ShowCode(Int32)

事件

AttributeChanged (继承自 TextBuffer)
Loaded
OnNewLangSvc
TextChanged (继承自 TextBuffer)

显式接口实现

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)

适用于