UIPasteboard.Contains 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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[]
傳回
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[]
您要探查的貼上板類型。
傳回
- 屬性