Freigeben über


DateHeader Constructor (String, DateTime)

The DateHeader constructor creates a new DateHeader object that has the given name and dateTime.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    dateTime As DateTime _
)
public DateHeader (
    string name,
    DateTime dateTime
)
public:
DateHeader (
    String^ name, 
    DateTime dateTime
)
public DateHeader (
    String name, 
    DateTime dateTime
)
public function DateHeader (
    name : String, 
    dateTime : DateTime
)

Parameters

  • name
    A string that contains the name of the DateHeader to be created.
  • dateTime
    A DateTime object that specifies the Coordinated Universal Time (UTC) or local date and time to use when the new DateHeader object is created.

Remarks

When dateTime is a local time, the TimeZoneOffset property is initialized to zero. When dateTime is a universal time, the TimeZoneOffset property is initialized to the current local time offset.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003