共用方式為


UIActivityItemSource.GetSubjectForActivity 方法

定義

傳回指定 activityType 之 的主旨。

[Foundation.Export("activityViewController:subjectForActivityType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string GetSubjectForActivity(UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType);
abstract member GetSubjectForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string
override this.GetSubjectForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string

參數

activityViewController
UIActivityViewController
activityType
NSString

即將加入。

這個參數可以是 null

傳回

屬性

適用於