NSCollectionView.GetItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetItem(NSIndexPath) | |
| GetItem(IntPtr) |
GetItem(NSIndexPath)
[Foundation.Export("itemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSCollectionViewItem? GetItem(Foundation.NSIndexPath indexPath);
[<Foundation.Export("itemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItem : Foundation.NSIndexPath -> AppKit.NSCollectionViewItem
override this.GetItem : Foundation.NSIndexPath -> AppKit.NSCollectionViewItem
Parameters
- indexPath
- NSIndexPath
Returns
- Attributes
Applies to
GetItem(IntPtr)
[Foundation.Export("itemAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSCollectionViewItem? GetItem(IntPtr index);
[<Foundation.Export("itemAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItem : nativeint -> AppKit.NSCollectionViewItem
override this.GetItem : nativeint -> AppKit.NSCollectionViewItem
Parameters
- index
-
IntPtr
nativeint
Returns
- Attributes