Description
Represents the time instant if the state is set to explicit.
Property type
Read-only property
Syntax
| [Visual Basic .NET] |
|---|
Public Property TimeInstant() As System.Object
|
| [C#] |
|---|
public System.Object TimeInstant {get;}
|
| [Managed C++] |
|---|
public: __property VARIANT get_TimeInstant();
|
| [Unmanaged C++] |
|---|
public: HRESULT get_TimeInstant(
VARIANT * pRetVal
);
|
| [Java] |
|---|
public AgVariant getTimeInstant();
|
| [Python - STK API] |
|---|
@property
def TimeInstant(self) -> typing.Any:
|
See Also
Example
Create and configure explicit smart epoch event.
| [C#] |
|---|
IAgCrdnEventSmartEpoch smartEpoch = provider.Events.Factory.CreateSmartEpochFromTime("1 May 2016 04:00:00.000");
// Smart epochs can be set explicitly (Uses current DateTime unit preference, this code snippet assumes UTCG)
smartEpoch.SetExplicitTime("1 May 2015 01:00:00.000");
Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant);
|
|
Create and configure explicit smart epoch event.
| [Visual Basic .NET] |
|---|
Dim smartEpoch As IAgCrdnEventSmartEpoch = provider.Events.Factory.CreateSmartEpochFromTime("1 May 2016 04:00:00.000")
' Smart epochs can be set explicitly (Uses current DateTime unit preference, this code snippet assumes UTCG)
smartEpoch.SetExplicitTime("1 May 2015 01:00:00.000")
Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant)
|
|