共用方式為


IntPtr.IAdditionOperators<IntPtr,IntPtr,IntPtr>.CheckedAddition 運算子

定義

將兩個值加在一起,以計算其總和。

 static IntPtr System.Numerics.IAdditionOperators<nint,nint,nint>.op_CheckedAddition(IntPtr left, IntPtr right) = System::Numerics::IAdditionOperators<IntPtr, IntPtr, IntPtr>::op_CheckedAddition;
static IntPtr IAdditionOperators<IntPtr,IntPtr,IntPtr>.op_CheckedAddition (IntPtr left, IntPtr right);
static member System.Numerics.IAdditionOperators<nint,nint,nint>.op_CheckedAddition : nativeint * nativeint -> nativeint
 Shared op_CheckedAddition (left As IntPtr, right As IntPtr) As IntPtr Implements IAdditionOperators(Of IntPtr, IntPtr, IntPtr).op_CheckedAddition

參數

left
IntPtr

nativeint

要加入的值 right

right
IntPtr

nativeint

加入至 left 的值。

傳回

IntPtr

nativeint

leftright 的總和。

實作

適用於