CSIndexExtensionRequestHandler.GetData 方法

定义

[Foundation.Export("dataForSearchableIndex:itemIdentifier:typeIdentifier:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 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)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSData GetData (CoreSpotlight.CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out Foundation.NSError outError);
abstract member GetData : CoreSpotlight.CSSearchableIndex * string * string *  -> Foundation.NSData
override this.GetData : CoreSpotlight.CSSearchableIndex * string * string *  -> Foundation.NSData

参数

searchableIndex
CSSearchableIndex
itemIdentifier
String
typeIdentifier
String
outError
NSError

返回

属性

适用于