A representation of distance as a numeric value and a display string.

C# | Visual Basic |
public class Distance : IScriptDataConverter
Public Class Distance _ Implements IScriptDataConverter

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | Distance()()()() | Initializes a new instance of the Distance class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromScriptData(Object) |
Retrieves an instance from script data.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Text |
A string representation of the distance value, using the UnitSystem specified in the request.
|
![]() | ToScriptData()()()() |
Returns the instance as a script data.
|
![]() | ToString()()()() | (Inherited from Object.) |
![]() | Value |
The distance in meters.
|

Object | |
![]() | Distance |