共用方式為


CSSearchableIndexDelegate_Extensions.GetData 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetData (this CoreSpotlight.ICSSearchableIndexDelegate This, CoreSpotlight.CSSearchableIndex searchableIndex, string itemIdentifier, string typeIdentifier, out Foundation.NSError outError);
static member GetData : CoreSpotlight.ICSSearchableIndexDelegate * CoreSpotlight.CSSearchableIndex * string * string *  -> Foundation.NSData

參數

This
ICSSearchableIndexDelegate

這個擴充方法運作所在的實例。

searchableIndex
CSSearchableIndex
itemIdentifier
String
typeIdentifier
String
outError
NSError

傳回

屬性

適用於