Share via


NSIndexPath.Section Property

Definition

The index of a section within a UITableView (read-only).

public int Section { get; }
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr Section { [Foundation.Export("section")] get; }
member this.Section : int
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("section")>]
member this.Section : nativeint

Property Value

IntPtr

nativeint

Attributes

Remarks

This section contains the Row referenced by this object.

On 64-bit platforms, the value is truncated from a 64-bit integer to a 32-bit integer.   To avoid this, use the LongSection property.

Applies to