Version

Search Results

Equality Operator (SnapshotLineInfo)

Compares the values of two SnapshotLineInfo structures for equality Syntax Parameters line1 The first structureline2 The other structure Return Value true if the two instances are equal; otherwise false

Inequality Operator (SnapshotLineInfo)

Compares the values of two SnapshotLineInfo structures for inequality Syntax Parameters line1 The first structureline2 The other structure Return Value true if the two instances are not equal; otherwise false

OverallOffset Property (SnapshotLineInfo)

Returns the zero-based offset of this line from the beginning of the document (read-only). Syntax

Snapshot Property (SnapshotLineInfo)

Returns the associated TextDocumentSnapshot (read-only). Syntax

TextLength Property

Returns the length of all the text in the line excluding carriage return and line feed characters. (read-only). Syntax

TokenCount Property (SnapshotLineInfo)

Returns the total number of tokens in the line including the line terminator token (read-only). Syntax Remarks If the line contains a portion of the multiline token, the TokenCount will also include that token.

ToString Method (SnapshotLineInfo)

Returns a string representation of the object. Syntax Return Value A string that represents this SnapshotLineInfo

SnapshotPoint Structure

Represents a point (i.e. offset) within a specific TextDocumentSnapshot Syntax Remarks Note: to translate a point between 2 related Snapshots use the TranslateTo method.

SnapshotPoint Structure Members

Public Constructors Public Properties Public Methods Public Operators