| IExportPropertiesTimeZoneId Property |
The Id of the selected timezone for the case.
Namespace:
EdaIntegrationContract.Exports
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax string TimeZoneId { get; set; }
Property Value
Type:
StringExceptions Exception | Condition |
---|
EdaApiException | An exception is thrown if the time zone id is not valid. |
Remarks
The default value is the Id of UTC time.
Examples
This example demonstrates how to set and retrieve the Id of a time zone item.
using Law.EdaIntegration;
class Sample
{
public static void Main()
{
EdaIntegration edaIntegration = EdaIntegration.ConnectToExplore();
Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
edaCase.Exports.Properties.TimeZoneId = System.TimeZoneInfo.Utc.Id;
edaCase.Exports.UpdateProperties();
string timeZoneId = edaCase.Exports.Properties.TimeZoneId;
Console.WriteLine("Time zone: {0}", System.TimeZoneInfo.FindSystemTimeZoneById(timeZoneId).StandardName);
}
}
See Also