MyGridProgramElapsedTime Property |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Note: This API is now obsolete.
Gets the amount of in-game time elapsed from the previous run.
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax [ObsoleteAttribute("Use Runtime.TimeSinceLastRun instead")]
public virtual TimeSpan ElapsedTime { get; protected set; }
<ObsoleteAttribute("Use Runtime.TimeSinceLastRun instead")>
Public Overridable Property ElapsedTime As TimeSpan
Get
Protected Set
public:
[ObsoleteAttribute(L"Use Runtime.TimeSinceLastRun instead")]
virtual property TimeSpan ElapsedTime {
TimeSpan get ();
protected: void set (TimeSpan value);
}
[<ObsoleteAttribute("Use Runtime.TimeSinceLastRun instead")>]
abstract ElapsedTime : TimeSpan with get, set
[<ObsoleteAttribute("Use Runtime.TimeSinceLastRun instead")>]
override ElapsedTime : TimeSpan with get, set
Property Value
Type:
TimeSpanSee Also