IProjectionSnapshot2 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为投影快照提供了更多方法。
public interface class IProjectionSnapshot2 : Microsoft::VisualStudio::Text::Projection::IProjectionSnapshot
public interface class IProjectionSnapshot2 : Microsoft::VisualStudio::Text::Projection::IProjectionSnapshot
__interface IProjectionSnapshot2 : Microsoft::VisualStudio::Text::Projection::IProjectionSnapshot
public interface IProjectionSnapshot2 : Microsoft.VisualStudio.Text.Projection.IProjectionSnapshot
type IProjectionSnapshot2 = interface
interface IProjectionSnapshot
interface ITextSnapshot
Public Interface IProjectionSnapshot2
Implements IProjectionSnapshot
- 实现
属性
| ContentType |
IContentType TextBuffer 此快照为当前快照时的。 (继承自 ITextSnapshot) |
| Item[Int32] |
获取位于指定位置的单个字符。 (继承自 ITextSnapshot) |
| Length |
获取快照中包含的 UTF-16 字符数。 (继承自 ITextSnapshot) |
| LineCount |
获取快照中的正数。 其为零的快照被 Length 视为具有一行。 (继承自 ITextSnapshot) |
| Lines |
快照中的行集的枚举器。 (继承自 ITextSnapshot) |
| SourceSnapshots |
获取向此投影快照提供源范围的一个或多个文本快照集。 列表的排序是任意的。 它不包含重复项。 (继承自 IProjectionSnapshot) |
| SpanCount |
获取投影快照中源范围的数目。 (继承自 IProjectionSnapshot) |
| TextBuffer |
获取 IProjectionBufferBase 此为快照的。 (继承自 IProjectionSnapshot) |
| Version |
此表示的的版本 ITextBuffer ITextSnapshot 。 (继承自 ITextSnapshot) |