LinkWithAttribute LinkWithAttribute Constructors

Definition

Overloads

LinkWithAttribute()

Creates a new LinkWithAttribute to specify custom build/linker flags for the managed assembly.

LinkWithAttribute(String) LinkWithAttribute(String)

Creates a new LinkWithAttribute for the specified native library.

LinkWithAttribute(String, LinkTarget) LinkWithAttribute(String, LinkTarget)

Creates a new LinkWithAttribute for the specified native library targetting the specified platform(s).

LinkWithAttribute(String, LinkTarget, String) LinkWithAttribute(String, LinkTarget, String)

Creates a new LinkWithAttribute for the specified native library targetting the specified platform(s).

LinkWithAttribute()

Creates a new LinkWithAttribute to specify custom build/linker flags for the managed assembly.

public LinkWithAttribute ();

LinkWithAttribute(String) LinkWithAttribute(String)

Creates a new LinkWithAttribute for the specified native library.

public LinkWithAttribute (string libraryName);
new ObjCRuntime.LinkWithAttribute : string -> ObjCRuntime.LinkWithAttribute

Parameters

libraryName
String String

The name of the native library. For example: libMyLibrary.a

Remarks

The library name should be unique as it will become the resource name for the native library embedded in the built assembly.

LinkWithAttribute(String, LinkTarget) LinkWithAttribute(String, LinkTarget)

Creates a new LinkWithAttribute for the specified native library targetting the specified platform(s).

public LinkWithAttribute (string libraryName, ObjCRuntime.LinkTarget target);
new ObjCRuntime.LinkWithAttribute : string * ObjCRuntime.LinkTarget -> ObjCRuntime.LinkWithAttribute

Parameters

libraryName
String String

The name of the native library. For example: libMyLibrary.a

target
LinkTarget LinkTarget

The target platform (or platforms) that this library is built for.

Remarks

The library name should be unique as it will become the resource name for the native library embedded in the built assembly.

LinkWithAttribute(String, LinkTarget, String) LinkWithAttribute(String, LinkTarget, String)

Creates a new LinkWithAttribute for the specified native library targetting the specified platform(s).

public LinkWithAttribute (string libraryName, ObjCRuntime.LinkTarget target, string linkerFlags);
new ObjCRuntime.LinkWithAttribute : string * ObjCRuntime.LinkTarget * string -> ObjCRuntime.LinkWithAttribute

Parameters

libraryName
String String

The name of the native library. For example: libMyLibrary.a

target
LinkTarget LinkTarget

The target platform (or platforms) that this library is built for.

linkerFlags
String String

Additional linker flags that are required for linking the native library to an application.

Remarks

The library name should be unique as it will become the resource name for the native library embedded in the built assembly.

Applies to