Inheritance: System.TimeZone
示例#1
0
 /// <summary>
 /// Determines whether a specfic WindowsTimeZone value is in this WindowsTimeZoneCollection.
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone value to locate in this WindowsTimeZoneCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this WindowsTimeZoneCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(WindowsTimeZone value)
 {
     return this.List.Contains(value);
 }
示例#2
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this WindowsTimeZoneCollection
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone value to locate in the WindowsTimeZoneCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(WindowsTimeZone value)
 {
     return this.List.IndexOf(value);
 }
示例#3
0
 /// <summary>
 /// Adds an instance of type WindowsTimeZone to the end of this WindowsTimeZoneCollection.
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone to be added to the end of this WindowsTimeZoneCollection.
 /// </param>
 public virtual void Add(WindowsTimeZone value)
 {
     this.List.Add(value);
 }