Share via


UNNotificationAttachment.FromIdentifier メソッド

定義

オーバーロード

FromIdentifier(String, NSUrl, NSDictionary, NSError)

指定された identifierurloptions、および を使用して、新しい通知添付ファイルを作成して返します。options

FromIdentifier(String, NSUrl, UNNotificationAttachmentOptions, NSError)

FromIdentifier(String, NSUrl, NSDictionary, NSError)

指定された identifierurloptions、および を使用して、新しい通知添付ファイルを作成して返します。options

[Foundation.Export("attachmentWithIdentifier:URL:options:error:")]
public static UserNotifications.UNNotificationAttachment FromIdentifier (string identifier, Foundation.NSUrl url, Foundation.NSDictionary options, out Foundation.NSError error);
static member FromIdentifier : string * Foundation.NSUrl * Foundation.NSDictionary *  -> UserNotifications.UNNotificationAttachment

パラメーター

identifier
String

一意の添付ファイル識別子。

url
NSUrl

添付ファイルの場所。

options
NSDictionary

クリッピング四角形、アニメーション フレーム番号などの添付ファイル オプションのディクショナリ。

このパラメーターは、null に設定できます。

error
NSError

エラーが書き込まれる場所。

このパラメーターは、null に設定できます。

戻り値

新しい通知アタッチメン。

属性

適用対象

FromIdentifier(String, NSUrl, UNNotificationAttachmentOptions, NSError)

public static UserNotifications.UNNotificationAttachment FromIdentifier (string identifier, Foundation.NSUrl url, UserNotifications.UNNotificationAttachmentOptions attachmentOptions, out Foundation.NSError error);
static member FromIdentifier : string * Foundation.NSUrl * UserNotifications.UNNotificationAttachmentOptions *  -> UserNotifications.UNNotificationAttachment

パラメーター

identifier
String
url
NSUrl
error
NSError

戻り値

適用対象