UIntPtr.IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>.CheckedAddition 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将两个值相加以计算其和。
static UIntPtr System.Numerics.IAdditionOperators<nuint,nuint,nuint>.op_CheckedAddition(UIntPtr left, UIntPtr right) = System::Numerics::IAdditionOperators<UIntPtr, UIntPtr, UIntPtr>::op_CheckedAddition;
static UIntPtr IAdditionOperators<UIntPtr,UIntPtr,UIntPtr>.op_CheckedAddition (UIntPtr left, UIntPtr right);
static member System.Numerics.IAdditionOperators<nuint,nuint,nuint>.op_CheckedAddition : unativeint * unativeint -> unativeint
Shared op_CheckedAddition (left As UIntPtr, right As UIntPtr) As UIntPtr Implements IAdditionOperators(Of UIntPtr, UIntPtr, UIntPtr).op_CheckedAddition
参数
- left
-
UIntPtr
unativeint
要向其添加的值 right
。
- right
-
UIntPtr
unativeint
添加到 left
的值。
返回
UIntPtr
unativeint
left
与 right
的和。