LinearValue Class

Uses

System.ICloneable

System.IDisposeable

 

Description

The LinearValue class expresses a single linear distance value.  

 

Public Constructors

Constructor

Description

LinearValue

Creates a new instance of the LinearValue class

 

Public Properties

Property

Description

Format

Indicates the string format to use with the FromString and ToString methods

InMeters

Gets or sets the value of this object in meters

InUnits

Gets or sets the value of this object in the units defined in Units

Label

A string that adds meaning to this LinearValue

Units

The LinearUnit used in this LinearValue

 

Public Methods

Method

Description

Clone

Produces a deep-copy of the current instance

DeepCopy

Produces a deep-copy of a LinearValue

Dispose

Releases the resources used by the current instance

FromString

Sets the value of this LinearValue to match the value in the string passed as argument

ToString

Produces a string that gives the value of this LinearValue

ValueEquals

Compares the value of two LinearValue instances