Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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