Uredi

Deli z drugimi prek


DateTime.ToBinary Method

Definition

Serializes the current DateTime object to a 64-bit binary value that subsequently can be used to recreate the DateTime object.

public:
 long ToBinary();
public long ToBinary ();
member this.ToBinary : unit -> int64
Public Function ToBinary () As Long

Returns

A 64-bit signed integer that encodes the Kind and Ticks properties.

Remarks

For more information about this API, see Supplemental API remarks for DateTime.ToBinary.

Applies to

See also