Decimal.UnaryPlus(Decimal) Operator
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar operandens Decimal värde (operandens tecken är oförändrat).
public:
static System::Decimal operator +(System::Decimal d);
public:
static System::Decimal operator +(System::Decimal d) = System::Numerics::IUnaryPlusOperators<System::Decimal, System::Decimal>::op_UnaryPlus;
public static decimal operator +(decimal d);
static member ( ~+ ) : decimal -> decimal
Public Shared Operator + (d As Decimal) As Decimal
Parametrar
- d
- Decimal
Operand att återvända.
Returer
Värdet för operand, d.
Implementeringar
Kommentarer
Metoden UnaryPlus definierar driften av den unary positiva operatorn för Decimal värden.