다음을 통해 공유


NSFileProviderExtension.GetPersistentIdentifier(NSUrl) 메서드

정의

개발자가 구현하는 경우 지정된 URL에 대해 지정된 식별자를 반환합니다.

[Foundation.Export("persistentIdentifierForItemAtURL:")]
public virtual string GetPersistentIdentifier (Foundation.NSUrl itemUrl);
abstract member GetPersistentIdentifier : Foundation.NSUrl -> string
override this.GetPersistentIdentifier : Foundation.NSUrl -> string

매개 변수

itemUrl
NSUrl

공유 문서의 URL입니다.

반환

URL을 참조하여 문서를 구체적으로 식별하는 문자열입니다.

특성

설명

식별자는 DocumentStorageURL 메서드에서 반환된 루트 URL 주소에서 문서의 상대 경로로 정의됩니다.

백그라운드 스레드에서 사용할 수 있습니다.

적용 대상