MonobjcMonobjc Documented Class Library
IndexOfPasteboardItem Method (pasteboardItem)

Returns the index of the specified pasteboard item.

Original signature is '- (NSUInteger)indexOfPasteboardItem:(NSPasteboardItem *)pasteboardItem'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSUInteger IndexOfPasteboardItem(
	NSPasteboardItem pasteboardItem
Public Overridable Function IndexOfPasteboardItem ( _
	pasteboardItem As NSPasteboardItem _
) As NSUInteger
virtual NSUInteger IndexOfPasteboardItem(
	NSPasteboardItem^ pasteboardItem
pasteboardItem (NSPasteboardItem)
A pasteboard item.
Return Value
The index of the specified pasteboard item. If pasteboardItem has not been added to any pasteboard, or is owned by another pasteboard, returns NSNotFound.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)