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

定义

静态工厂方法,用于从 创建 UIImage ,并作为适当的 UTI。

[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.UIImage GetObject (Foundation.NSData data, string typeIdentifier, out Foundation.NSError outError);
static member GetObject : Foundation.NSData * string *  -> UIKit.UIImage

参数

data
NSData
typeIdentifier
String
outError
NSError

内容待定。

此参数可以为 null

返回

属性

适用于