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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。