To create the initialization and assignment expressions , you can use the assignment operator 若要?jiǎng)?chuàng)建初始化和賦值表達(dá)式,可以使用賦值運(yùn)算符( = ) 。
Then the receiver must add that delegate to the event on the source object , using the addition assignment operator 然后,接收器必須使用加法賦值運(yùn)算符(
In the immediate window , by contrast , an equals sign is interpreted as an assignment operator 與此相反,在“即時(shí)”窗口中,將等號(hào)( = )解釋為賦值運(yùn)算符。
And the addition and subtraction assignment operators to add and remove handlers from the list ,以及加法和減法賦值運(yùn)算符在列表中添加和移除處理程序。
Sign , which is sometimes called the assignment operator , as shown in the following example 符號(hào)(該符號(hào)有時(shí)稱作“賦值運(yùn)算符” )給變量賦值,如下例所示。
Operator can be overloaded only as a relational comparison operator , not as an assignment operator 運(yùn)算符只能作為關(guān)系比較運(yùn)算符重載,而不能作為賦值運(yùn)算符重載。
A field can be given an initial value by using the assignment operator when the field is declared 聲明字段時(shí)可以使用賦值運(yùn)算符為字段指定一個(gè)初始值。例如,若要自動(dòng)將
In the preceding example , visual basic performs the operations in the expression on the right side of the assignment operator 在前面的示例中, visual basic在賦值運(yùn)算符(
Command determines whether an equals sign is interpreted as a comparison operator or as an assignment operator 命令的窗口確定是將等號(hào)( = )解釋為比較運(yùn)算符還是賦值運(yùn)算符。
The programming element on the left side of the assignment operator must be able to accept and store a value 合格的編程元素賦值運(yùn)算符左側(cè)的編程元素必須能夠接受和存儲(chǔ)值。