NSFileManager_NSUserInformation.GetHomeDirectory 方法

定义

[Foundation.Export("homeDirectoryForUser:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSUrl GetHomeDirectory (this Foundation.NSFileManager This, string userName);
static member GetHomeDirectory : Foundation.NSFileManager * string -> Foundation.NSUrl

参数

userName
String

返回

属性

适用于