UNNotificationAttachment.FromIdentifier 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
FromIdentifier(String, NSUrl, NSDictionary, NSError) |
제공된 |
FromIdentifier(String, NSUrl, UNNotificationAttachmentOptions, NSError) |
FromIdentifier(String, NSUrl, NSDictionary, NSError)
제공된 identifier
, , url
options
및 를 사용하여 새 알림 첨부 파일을 만들고 반환합니다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
첨부 파일의 위치입니다.
반환
새 알림 연결자입니다.
- 특성
적용 대상
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
- attachmentOptions
- UNNotificationAttachmentOptions
- error
- NSError