.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    TryParse Method

    TryParse(string?, out HLocalDateTime)

    Converts the string representation of a date and time to its HLocalDateTime representation. A return value indicates whether the operation succeeded.

    Declaration
    public static bool TryParse(string? s, out HLocalDateTime localDateTime)
    Parameters
    string s

    A string containing a date and time to convert.

    HLocalDateTime localDateTime

    When this method returns, contains the HLocalDateTime equivalent of the date and time in s, if the conversion succeeded, or zero if the conversion failed.

    Returns
    bool

    true if s was converted successfully; otherwise, false.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.