Operator implicit operator
implicit operator Location?(nint)
Converts a native pointer to a Location.
public static implicit operator Location?(nint intPtr)
Parameters
intPtrnintThe native pointer to the location engine structure.
Returns
- Location
The wrapped location when
intPtris non-zero; otherwise null.