共用方式為


ITextBuffer.CurrentSnapshot 屬性

取得緩衝區目前的內容。

命名空間:  Microsoft.VisualStudio.Text
組件:  Microsoft.VisualStudio.Text.Data (在 Microsoft.VisualStudio.Text.Data.dll 中)

語法

'宣告
ReadOnly Property CurrentSnapshot As ITextSnapshot
ITextSnapshot CurrentSnapshot { get; }
property ITextSnapshot^ CurrentSnapshot {
    ITextSnapshot^ get ();
}
abstract CurrentSnapshot : ITextSnapshot with get
function get CurrentSnapshot () : ITextSnapshot

屬性值

類型:Microsoft.VisualStudio.Text.ITextSnapshot
緩衝區目前的內容。

.NET Framework 安全性

請參閱

參考

ITextBuffer 介面

Microsoft.VisualStudio.Text 命名空間