Upravit

Sdílet prostřednictvím


LinkWithAttribute Constructors

Definition

Overloads

LinkWithAttribute()

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

LinkWithAttribute(String)

Creates a new LinkWithAttribute for the specified native library.

LinkWithAttribute(String, LinkTarget)

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

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 ();

Applies to

LinkWithAttribute(String)

Creates a new LinkWithAttribute for the specified native library.

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

Parameters

libraryName
String

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

Applies to

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

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

target
LinkTarget

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

Applies to

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

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

target
LinkTarget

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

linkerFlags
String

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

Applies to