C# Class newtelligence.DasBlog.Util.WindowsTimeZoneCollection

A collection of elements of type WindowsTimeZone
Inheritance: System.Collections.CollectionBase
Exibir arquivo Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
Add ( WindowsTimeZone value ) : void

Adds an instance of type WindowsTimeZone to the end of this WindowsTimeZoneCollection.

Contains ( WindowsTimeZone value ) : bool

Determines whether a specfic WindowsTimeZone value is in this WindowsTimeZoneCollection.

GetByZoneIndex ( int zoneIndex ) : WindowsTimeZone
GetEnumerator ( ) : WindowsTimeZoneCollection.Enumerator

Returns an enumerator that can iterate through the elements of this WindowsTimeZoneCollection.

IndexOf ( WindowsTimeZone value ) : int

Return the zero-based index of the first occurrence of a specific value in this WindowsTimeZoneCollection

SortByTimeZoneBias ( ) : void
WindowsTimeZoneCollection ( ) : System

Initializes a new empty instance of the WindowsTimeZoneCollection class.

Made public for serialization.

this ( int index ) : WindowsTimeZone

Gets or sets the WindowsTimeZone at the given index in this WindowsTimeZoneCollection.

Method Details

Add() public method

Adds an instance of type WindowsTimeZone to the end of this WindowsTimeZoneCollection.
public Add ( WindowsTimeZone value ) : void
value WindowsTimeZone /// The WindowsTimeZone to be added to the end of this WindowsTimeZoneCollection. ///
return void

Contains() public method

Determines whether a specfic WindowsTimeZone value is in this WindowsTimeZoneCollection.
public Contains ( WindowsTimeZone value ) : bool
value WindowsTimeZone /// The WindowsTimeZone value to locate in this WindowsTimeZoneCollection. ///
return bool

GetByZoneIndex() public method

public GetByZoneIndex ( int zoneIndex ) : WindowsTimeZone
zoneIndex int
return WindowsTimeZone

GetEnumerator() public method

Returns an enumerator that can iterate through the elements of this WindowsTimeZoneCollection.
public GetEnumerator ( ) : WindowsTimeZoneCollection.Enumerator
return WindowsTimeZoneCollection.Enumerator

IndexOf() public method

Return the zero-based index of the first occurrence of a specific value in this WindowsTimeZoneCollection
public IndexOf ( WindowsTimeZone value ) : int
value WindowsTimeZone /// The WindowsTimeZone value to locate in the WindowsTimeZoneCollection. ///
return int

SortByTimeZoneBias() public method

public SortByTimeZoneBias ( ) : void
return void

WindowsTimeZoneCollection() public method

Initializes a new empty instance of the WindowsTimeZoneCollection class.
Made public for serialization.
public WindowsTimeZoneCollection ( ) : System
return System

this() public method

Gets or sets the WindowsTimeZone at the given index in this WindowsTimeZoneCollection.
public this ( int index ) : WindowsTimeZone
index int
return WindowsTimeZone