IProjectionSnapshot2 Properties

Include Protected Members
Include Inherited Members

The IProjectionSnapshot2 type exposes the following members.

Properties

  Name Description
Public property ContentType Gets the IContentType of the TextBuffer when this snapshot was current. (Inherited from ITextSnapshot.)
Public property Item Gets one character at the specified position. (Inherited from ITextSnapshot.)
Public property Length Gets the number of UTF-16 characters in the snapshot. (Inherited from ITextSnapshot.)
Public property LineCount Gets the number of lines in the snapshot. (Inherited from ITextSnapshot.)
Public property Lines Gets an enumerator for the set of lines in the snapshot. (Inherited from ITextSnapshot.)
Public property SourceSnapshots Gets the set of one or more text snapshots that contribute source spans to this projection snapshot. (Inherited from IProjectionSnapshot.)
Public property SpanCount Gets the number of source spans in the projection snapshot. (Inherited from IProjectionSnapshot.)
Public property TextBuffer The ITextBuffer of which this is a snapshot. (Inherited from ITextSnapshot.)
Public property TextBuffer Gets the IProjectionBufferBase of which this is a snapshot. (Inherited from IProjectionSnapshot.)
Public property Version The version of the ITextBuffer that this ITextSnapshot represents. (Inherited from ITextSnapshot.)

Top

See Also

Reference

IProjectionSnapshot2 Interface

Microsoft.VisualStudio.Text.Projection Namespace