MapUnit.TryParse(String, IFormatProvider, out MapUnit) Method
In This Article
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 | IFormat |
An object that supplies culture-specific formatting information that is used to convert the passed string. |
result | Map |
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