UIPasteboard.Contains UIPasteboard.Contains Method

Definition

Overloads

Contains(String[], NSIndexSet) Contains(String[], NSIndexSet)

Whether the pasteboard elements specified by itemSet contain data of the specified pasteboardTypes.

Contains(String[]) Contains(String[])

Whether this UIPasteBoard holds data of the specified type.

Contains(String[], NSIndexSet) Contains(String[], NSIndexSet)

Whether the pasteboard elements specified by itemSet contain data of the specified 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

Parameters

pasteboardTypes
String[]
itemSet
NSIndexSet NSIndexSet

Indexes of the elements on the pasteboard that you want to probe, or null to probe all of them.

This parameter can be null.

Returns

True if any of the elements of the pasteboard have one of the specified pasteboard types.

Contains(String[]) Contains(String[])

Whether this UIPasteBoard holds data of the specified type.

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

Parameters

pasteboardTypes
String[]

Pasteboard types that you will be probing for.

Returns

Applies to