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[]
返回
如此 如果粘贴板的任何元素具有指定的粘贴板类型之一。
- 属性
适用于
Contains(String[])
此 UIPasteBoard 是否包含指定类型的数据。
[Foundation.Export("containsPasteboardTypes:")]
public virtual bool Contains (string[] pasteboardTypes);
abstract member Contains : string[] -> bool
override this.Contains : string[] -> bool
参数
- pasteboardTypes
- String[]
要探测的粘贴板类型。
返回
- 属性