Share via


UISegmentedControl.RemoveSegmentAtIndex(IntPtr, Boolean) Method

Definition

Removes the segment at the index segment.

[Foundation.Export("removeSegmentAtIndex:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RemoveSegmentAtIndex(IntPtr segment, bool animated);
[<Foundation.Export("removeSegmentAtIndex:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveSegmentAtIndex : nativeint * bool -> unit
override this.RemoveSegmentAtIndex : nativeint * bool -> unit

Parameters

segment
IntPtr

nativeint

animated
Boolean
Attributes

Applies to