Table of Contents

Class Line

Namespace
L5Sharp.Elements
Assembly
L5Sharp.dll

A Logix Line element containing the properties for a L5X Line component.

public sealed class Line : LogixElement, ILogixSerializable
Inheritance
Line
Implements
Inherited Members

Constructors

Line()

Creates a new Line with default values.

public Line()

Line(XElement)

Creates a new Line initialized with the provided XElement.

public Line(XElement element)

Parameters

element XElement

The XElement to initialize the type with.

Exceptions

ArgumentNullException

element is null.

Properties

Number

The zero based number indicating the position of the Line within the containing routine.

public int Number { get; set; }

Property Value

int

Text

The logic of the Line as a NeutralText value.

public NeutralText Text { get; set; }

Property Value

NeutralText

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.