Design Center v1 API - Class CodePosition (1.0.0-beta01)

public sealed class CodePosition : IMessage<CodePosition>, IEquatable<CodePosition>, IDeepCloneable<CodePosition>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class CodePosition.

CodePosition represents a code location.

Inheritance

object > CodePosition

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

CodePosition()

public CodePosition()

CodePosition(CodePosition)

public CodePosition(CodePosition other)
Parameter
Name Description
other CodePosition

Properties

ByteOffset

public int ByteOffset { get; set; }

Output only. Byte offset in the content.

Property Value
Type Description
int

Column

public int Column { get; set; }

Output only. One-based column count of the relevant position.

Property Value
Type Description
int

Line

public int Line { get; set; }

Output only. One-based line count of the relevant position.

Property Value
Type Description
int