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 void SetElementUnsafe(
int z,
int y,
int x,
TTo value
)
<SecurityCriticalAttribute>
Public Sub SetElementUnsafe (
z As Integer,
y As Integer,
x As Integer,
value As TTo
)
public:
[SecurityCriticalAttribute]
void SetElementUnsafe(
int z,
int y,
int x,
TTo value
)
[<SecurityCriticalAttribute>]
member SetElementUnsafe :
z : int *
y : int *
x : int *
value : 'TTo -> unit
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 . |