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
toItemAtUrl
NSUrl
error
NSError

返回

属性

适用于