NSFileManager.GetRelationship 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性