編輯

共用方式為


UIDocument.UserActivity Property

Definition

Object that encapsulates user activity information.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSUserActivity UserActivity { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("userActivity", ObjCRuntime.ArgumentSemantic.Strong)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setUserActivity:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.UserActivity : Foundation.NSUserActivity with get, set

Property Value

Gets and sets an activity.

Attributes

Remarks

This can be used from a background thread.

Applies to