ExportAttribute 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) ExportAttribute(String)

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

ExportAttribute(String, ArgumentSemantic) 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.

ExportAttribute(String) 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 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.

ExportAttribute(String, ArgumentSemantic) 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 String

The selector name.

semantic
ArgumentSemantic 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