Spread WPF Documentation
FromDateTime Method (TimeCondition)


The compare type.
The expected DateTime object.
Creates a TimeCondition object from the DateTime object.
Syntax
public static TimeCondition FromDateTime( 
   DateCompareType compareType,
   System.DateTime expected
)
'Declaration
 
Public Shared Function FromDateTime( _
   ByVal compareType As DateCompareType, _
   ByVal expected As System.Date _
) As TimeCondition
 
'Usage
 
Dim compareType As DateCompareType
Dim expected As System.Date
Dim value As TimeCondition
 
value = TimeCondition.FromDateTime(compareType, expected)

Parameters

compareType
The compare type.
expected
The expected DateTime object.

Return Value

The TimeCondition object.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

TimeCondition Class
TimeCondition Members

 

 


Copyright © GrapeCity, inc. All rights reserved.