Edit

Share via


FieldAttribute Constructors

Definition

Overloads

FieldAttribute(String)

Creates a new FieldAttribute instance with the specific symbol to bind.

FieldAttribute(String, String)

Creates a new FieldAttribute instance with the specific symbol to bind.

FieldAttribute(String)

Creates a new FieldAttribute instance with the specific symbol to bind.

public FieldAttribute (string symbolName);
new Foundation.FieldAttribute : string -> Foundation.FieldAttribute

Parameters

symbolName
String

The unmanaged symbol that this field represents.

Remarks

Used by Objective-C bindings to bind an unmanaged global variable as a static field.

Applies to

FieldAttribute(String, String)

Creates a new FieldAttribute instance with the specific symbol to bind.

public FieldAttribute (string symbolName, string libraryName);
new Foundation.FieldAttribute : string * string -> Foundation.FieldAttribute

Parameters

symbolName
String

The unmanaged symbol that this field represents.

libraryName
String

The library name to bind. Use "__Internal" for referencing symbols on libraries that are statically linked with your application.

Remarks

Used by Objective-C bindings to bind an unmanaged global variable as a static field.

Applies to