Interface ITimedObject
Represents an object that has time.
Namespace: Melanchall.DryWetMidi.Interaction
Assembly: Melanchall.DryWetMidi.dll
Syntax
public interface ITimedObject
Properties
Time
Gets the start time of an object.
Declaration
long Time { get; set; }
Property Value
Type | Description |
---|---|
long |
Remarks
Note that the returned value will be in ticks (not seconds, not milliseconds and so on).
Please read Time and length article to learn how you can
get the time in different representations.
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | value is negative. |
Methods
Clone()
Clones object by creating a copy of it.
Declaration
ITimedObject Clone()
Returns
Type | Description |
---|---|
ITimedObject | Copy of the object. |