NSFileManager.GetRelationship Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
GetRelationship(NSUrlRelationship, NSUrl, NSUrl, NSError) | |
GetRelationship(NSUrlRelationship, NSSearchPathDirectory, NSSearchPathDomain, NSUrl, NSError) |
GetRelationship(NSUrlRelationship, NSUrl, NSUrl, NSError)
[Foundation.Export("getRelationship:ofDirectoryAtURL:toItemAtURL:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool GetRelationship (out Foundation.NSUrlRelationship outRelationship, Foundation.NSUrl directoryURL, Foundation.NSUrl otherURL, out Foundation.NSError error);
abstract member GetRelationship : * Foundation.NSUrl * Foundation.NSUrl * -> bool
override this.GetRelationship : * Foundation.NSUrl * Foundation.NSUrl * -> bool
Параметры
- outRelationship
- NSUrlRelationship
- directoryURL
- NSUrl
- otherURL
- NSUrl
- error
- NSError
Возвращаемое значение
- Атрибуты
Применяется к
GetRelationship(NSUrlRelationship, NSSearchPathDirectory, NSSearchPathDomain, NSUrl, NSError)
[Foundation.Export("getRelationship:ofDirectory:inDomain:toItemAtURL:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool GetRelationship (out Foundation.NSUrlRelationship outRelationship, Foundation.NSSearchPathDirectory directory, Foundation.NSSearchPathDomain domain, Foundation.NSUrl toItemAtUrl, out Foundation.NSError error);
abstract member GetRelationship : * Foundation.NSSearchPathDirectory * Foundation.NSSearchPathDomain * Foundation.NSUrl * -> bool
override this.GetRelationship : * Foundation.NSSearchPathDirectory * Foundation.NSSearchPathDomain * Foundation.NSUrl * -> bool
Параметры
- outRelationship
- NSUrlRelationship
- directory
- NSSearchPathDirectory
- domain
- NSSearchPathDomain
- toItemAtUrl
- NSUrl
- error
- NSError
Возвращаемое значение
- Атрибуты