OpCodes.Stind_I 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 native int
at a supplied address.
public: static initonly System::Reflection::Emit::OpCode Stind_I;
public static readonly System.Reflection.Emit.OpCode Stind_I;
staticval mutable Stind_I : System.Reflection.Emit.OpCode
Public Shared ReadOnly Stind_I 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 |
---|---|---|
DF | stind.i | Stores a native int 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.i
instruction stores a native int
value at the supplied address (type native int
, *
, or &
).
Type safe operation requires that the stind.i
instruction be used in a manner consistent with the type of the pointer. The operation of the stind.i
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.i
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: