Sdílet prostřednictvím


MKErrorCodeExtensions Class

Definition

Extension methods for the MKErrorCode enumeration.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static class MKErrorCodeExtensions
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
type MKErrorCodeExtensions = class
Inheritance
MKErrorCodeExtensions
Attributes

Remarks

The extension method for the MKErrorCode enumeration can be used to fetch the error domain associated with these error codes.

Methods

Name Description
GetDomain(MKErrorCode)

Returns the error domain associated with the MapKit.MKErrorCode value

Applies to