Language

FieldAttribute.SymbolAddress Property

Definition

Gets or sets whether the generated accessor returns the address of the unmanaged symbol.

public bool SymbolAddress { get; set; }
member this.SymbolAddress : bool with get, set

Property Value

true to return the symbol's address instead of the pointer stored at that address; otherwise, false.

Remarks

This property is only valid when the attributed member has type IntPtr.

Applies to