Class TimeZones
An SDP time zones element.
Inheritance
System.Object
    TimeZones
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class TimeZonesConstructors
TimeZones(TimeZone[])
Initializes a new instance of the TimeZones class.
Declaration
public TimeZones(TimeZone[] values)Parameters
| Type | Name | Description | 
|---|---|---|
| TimeZone[] | values | The values. | 
Properties
Values
Gets the array of time zone adjustments.
Declaration
public TimeZone[] Values { get; }Property Value
| Type | Description | 
|---|---|
| TimeZone[] | 
Methods
AddTimeZone(TimeZone)
Adds a time zone adjustment.
Declaration
public void AddTimeZone(TimeZone value)Parameters
| Type | Name | Description | 
|---|---|---|
| TimeZone | value | The time zone adjustment to add. | 
Parse(String)
Creates an TimeZones instance from a string.
Declaration
public static TimeZones Parse(string s)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | The string to parse. | 
Returns
| Type | Description | 
|---|---|
| TimeZones | 
RemoveTimeZone(TimeZone)
Removes a time zone adjustment.
Declaration
public bool RemoveTimeZone(TimeZone value)Parameters
| Type | Name | Description | 
|---|---|---|
| TimeZone | value | The time zone adjustment to remove. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
ToString()
Converts this instance to a string.
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()