共用方式為


UIColor.GetObject(NSData, String, NSError) 方法

定義

[Foundation.Export("objectWithItemProviderData:typeIdentifier:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIColor GetObject (Foundation.NSData data, string typeIdentifier, out Foundation.NSError outError);
static member GetObject : Foundation.NSData * string *  -> UIKit.UIColor

參數

data
NSData
typeIdentifier
String
outError
NSError

即將加入。

這個參數可以是 null

傳回

屬性

備註

(即將推出此節點的更多檔)

這可從背景執行緒使用。

適用於