共用方式為


UIPasteboard.Contains 方法

定義

多載

Contains(String[], NSIndexSet)

itemSet 所指定的 pasteboard 元素是否包含指定之 pasteboardTypes 的資料。

Contains(String[])

這個 UIPasteBoard 是否保存指定類型的資料。

Contains(String[], NSIndexSet)

itemSet 所指定的 pasteboard 元素是否包含指定之 pasteboardTypes 的資料。

[Foundation.Export("containsPasteboardTypes:inItemSet:")]
public virtual bool Contains (string[] pasteboardTypes, Foundation.NSIndexSet itemSet);
abstract member Contains : string[] * Foundation.NSIndexSet -> bool
override this.Contains : string[] * Foundation.NSIndexSet -> bool

參數

pasteboardTypes
String[]
itemSet
NSIndexSet

您要探查之貼上面板上專案的索引,或為 null 來探查所有專案。

這個參數可以是 null

傳回

True 是表示 如果貼上板的任何專案有其中一個指定的貼上板類型。

屬性

適用於

Contains(String[])

這個 UIPasteBoard 是否保存指定類型的資料。

[Foundation.Export("containsPasteboardTypes:")]
public virtual bool Contains (string[] pasteboardTypes);
abstract member Contains : string[] -> bool
override this.Contains : string[] -> bool

參數

pasteboardTypes
String[]

您要探查的貼上板類型。

傳回

屬性

適用於