Caution
You must ensure that the specified indices designate an element in the bounds
of the actual underlying array. Attempting to access protected memory may crash the runtime.
[SecurityCriticalAttribute]
public TTo GetElementUnsafe(
int z,
int y,
int x
)
<SecurityCriticalAttribute>
Public Function GetElementUnsafe (
z As Integer,
y As Integer,
x As Integer
) As TTo
public:
[SecurityCriticalAttribute]
TTo GetElementUnsafe(
int z,
int y,
int x
)
[<SecurityCriticalAttribute>]
member GetElementUnsafe :
z : int *
y : int *
x : int -> 'TTo
If the compiler you use supports members that return a value by reference, you can also use the GetElementReferenceUnsafe method.
NotSupportedException | .NET Framework only: you execute this method in a partially trusted AppDomain that does not allow executing unverifiable code. |
NullReferenceException | IsNull is . |