Skip to main content
All docs
V24.1

MapUnit.TryParse(String, IFormatProvider, out MapUnit) Method

Converts the passed string to a Map Unit object. A return value indicates whether the conversion succeeded.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public static bool TryParse(
    string value,
    IFormatProvider provider,
    out MapUnit result
)

Parameters

Name Type Description
value String

Specifies a string to be converted.

provider IFormatProvider

An object that supplies culture-specific formatting information that is used to convert the passed string.

result MapUnit

Contains the resulting map unit if the passed string is converted successfully or a map unit with zero values if the conversion failed.

Returns

Type Description
Boolean

true if the conversion succeeded; otherwise, false.

See Also