Edytuj

Udostępnij za pośrednictwem


UIPasteboard.Contains Method

Definition

Overloads

Contains(String[], NSIndexSet)

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

Contains(String[])

Whether this UIPasteBoard holds data of the specified type.

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

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.

Attributes

Applies to

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

Attributes

Applies to