Class TextLocator.Types.Position (3.0.0)

public sealed class Position : IMessage<TextLocator.Types.Position>, IEquatable<TextLocator.Types.Position>, IDeepCloneable<TextLocator.Types.Position>, IBufferMessage, IMessage

The position of a byte within the text.

Inheritance

Object > TextLocator.Types.Position

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

Position()

public Position()

Position(TextLocator.Types.Position)

public Position(TextLocator.Types.Position other)
Parameter
NameDescription
otherTextLocator.Types.Position

Properties

Column

public int Column { get; set; }

The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.

Property Value
TypeDescription
Int32

Line

public int Line { get; set; }

The line, starting with 1, where the byte is positioned.

Property Value
TypeDescription
Int32