NSValue.FromUIOffset(UIOffset) Method

Definition

Creates an NSValue that wraps an UIOffset structure.

[Foundation.Export("valueWithUIOffset:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSValue FromUIOffset(UIKit.UIOffset insets);
[<Foundation.Export("valueWithUIOffset:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromUIOffset : UIKit.UIOffset -> Foundation.NSValue

Parameters

insets
UIOffset

The UIOffset instance

Returns

Attributes

Applies to