ExportAttribute Constructors

Definition

Overloads

ExportAttribute()

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

ExportAttribute(String)

Exports the given method or property to Objective-C land with the specified method name.

ExportAttribute(String, ArgumentSemantic)

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

ExportAttribute()

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

protected ExportAttribute ();

Remarks

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C. The name is derived from the actual method or property.

Applies to

ExportAttribute(String)

Exports the given method or property to Objective-C land with the specified method name.

public ExportAttribute (string selector);
new Foundation.ExportAttribute : string -> Foundation.ExportAttribute

Parameters

selector
String

The selector name.

Remarks

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

Applies to

ExportAttribute(String, ArgumentSemantic)

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

public ExportAttribute (string selector, ObjCRuntime.ArgumentSemantic semantic);
new Foundation.ExportAttribute : string * ObjCRuntime.ArgumentSemantic -> Foundation.ExportAttribute

Parameters

selector
String

The selector name.

semantic
ArgumentSemantic

The semantics of the setter (Assign, Copy or Retain).

Remarks

Use this method to expose a C# method, property or constructor as a method that can be invoked from Objective-C.

Applies to