UIPasteboard.SetObjects 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetObjects(INSItemProviderWriting[]) |
將專案提供者陣列設定為指定的 |
SetObjects(INSItemProviderWriting[], Boolean, NSDate) |
使用指定的 |
SetObjects(INSItemProviderWriting[])
將專案提供者陣列設定為指定的 objects
。
[Foundation.Export("setObjects:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetObjects (Foundation.INSItemProviderWriting[] objects);
abstract member SetObjects : Foundation.INSItemProviderWriting[] -> unit
override this.SetObjects : Foundation.INSItemProviderWriting[] -> unit
參數
- objects
- INSItemProviderWriting[]
- 屬性
適用於
SetObjects(INSItemProviderWriting[], Boolean, NSDate)
使用指定的 objects
詳細資料,將專案提供者陣列設定為指定的 。
[Foundation.Export("setObjects:localOnly:expirationDate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetObjects (Foundation.INSItemProviderWriting[] objects, bool localOnly, Foundation.NSDate expirationDate);
abstract member SetObjects : Foundation.INSItemProviderWriting[] * bool * Foundation.NSDate -> unit
override this.SetObjects : Foundation.INSItemProviderWriting[] * bool * Foundation.NSDate -> unit
參數
- objects
- INSItemProviderWriting[]
- localOnly
- Boolean
- 屬性