共用方式為


SimpleDate.Equality Operator

Returns a Boolean value indicating whether two SimpleDate values are equivalent.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Operator = ( _
    di0 As SimpleDate, _
    di As SimpleDate _
) As Boolean
'Usage
Dim di0 As SimpleDate
Dim di As SimpleDate
Dim returnValue As Boolean

returnValue = (di0 = di)
public static bool operator ==(
    SimpleDate di0,
    SimpleDate di
)

Parameters

Return Value

Type: System.Boolean
true if the values are equivalent; otherwise, false.

See Also

Reference

SimpleDate Structure

SimpleDate Members

Microsoft.SharePoint.Utilities Namespace