FieldAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.