FieldAttribute Class
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.
This attribute is present on properties to indicate that they reflect an underlying unmanaged global variable.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class FieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type FieldAttribute = class
inherit Attribute
- Inheritance
-
FieldAttribute
- Attributes
Remarks
When this attribute is present on a property, it indicates that the property actually reflects an underlying unmanaged global variable.
Constructors
| Name | Description |
|---|---|
| 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. |
Properties
| Name | Description |
|---|---|
| LibraryName |
The library name where the global symbol is looked up from. |
| SymbolName |
The global symbol that this field represents. |