Method AddressOf
AddressOf<T>(in T)
Returns the address of a read-only reference.
Declaration
public static void* AddressOf<T>(in T value) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
T | value | A read-only reference. |
Returns
Type | Description |
---|---|
void* | A pointer to the referenced value. |
Type Parameters
Name | Description |
---|---|
T | The type of referenced value. |