OpCodes.Stind_I4 Field
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores a value of type int32
at a supplied address.
public: static initonly System::Reflection::Emit::OpCode Stind_I4;
public static readonly System.Reflection.Emit.OpCode Stind_I4;
staticval mutable Stind_I4 : System.Reflection.Emit.OpCode
Public Shared ReadOnly Stind_I4 As OpCode
The following table lists the instruction's hexadecimal and Microsoft Intermediate Language (MSIL) assembly format, along with a brief reference summary:
Format | Assembly Format | Description |
---|---|---|
54 | stind.i4 | Stores an int32 value at a given address. |
The stack transitional behavior, in sequential order, is:
An address is pushed onto the stack.
A value is pushed onto the stack.
The value and the address are popped from the stack; the value is stored at the address.
The stind.i4
instruction stores an int32
value at the supplied address (type native int
, *
, or &
).
Type safe operation requires that the stind.i4
instruction be used in a manner consistent with the type of the pointer. The operation of the stind.i4
instruction can be altered by an immediately preceding Volatile or Unaligned prefix instruction.
NullReferenceException is thrown if addr
is not naturally aligned for the argument type implied by the instruction suffix.
The following Emit method overload can use the stind.i4
opcode:
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.0, 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: