Edit

Share via


RegisterAttribute Constructors

Definition

Overloads

RegisterAttribute()
RegisterAttribute(String)

Used to specify how the ECMA class is exposed as an Objective-C class.

RegisterAttribute(String, Boolean)

Used to specify how the ECMA class is exposed as an Objective-C class.

RegisterAttribute()

public RegisterAttribute ();

Applies to

RegisterAttribute(String)

Used to specify how the ECMA class is exposed as an Objective-C class.

public RegisterAttribute (string name);
new Foundation.RegisterAttribute : string -> Foundation.RegisterAttribute

Parameters

name
String

The name to use when exposing this class to the Objective-C world.

Applies to

RegisterAttribute(String, Boolean)

Used to specify how the ECMA class is exposed as an Objective-C class.

public RegisterAttribute (string name, bool isWrapper);
new Foundation.RegisterAttribute : string * bool -> Foundation.RegisterAttribute

Parameters

name
String

The name to use when exposing this class to the Objective-C world.

isWrapper
Boolean

Used to specify if the class being registered is wrapping an existing Objective-C class, or if it's a new class.

Applies to