System.Time.timeZones Property

A collection of System.Time.timeZone objects.

Note   Objects of type System.Time.timeZone can only be accessed through the timeZones collection. This collection is a member of System.Time.

This property is read-only.

Syntax

propVal = System.Time.timeZones()

  

Parameters

  • collTimeZone [out]
    A collection of System.Time.timeZone objects.

Examples

The following example demonstrates how to create a timeZones Collection, select the System.Time.timeZone instance at index 1 from the timeZones Collection, and access the name property of that System.Time.timeZone instance.

var collTimeZones = System.Time.timeZones; 
            
var oTimeZone = collTimeZones.item(1);  
            
var strName = oTimeZone.displayName;

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

See Also

Reference

count

item

System.Time.timeZone

System.Time

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK