編輯

共用方式為


CSSearchQueryErrorCodeExtensions Class

Definition

Extension methods for the CoreSpotlight.CSSearchQueryErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static class CSSearchQueryErrorCodeExtensions
type CSSearchQueryErrorCodeExtensions = class
Inheritance
CSSearchQueryErrorCodeExtensions
Attributes

Remarks

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

Methods

GetDomain(CSSearchQueryErrorCode)

Returns the error domain associated with the CoreSpotlight.CSSearchQueryErrorCode value

Applies to