set accessor 中文意思是什麼
set accessor
解釋
設置訪問器-
There is no set accessor because the name must be provided to the constructor
不存在設置訪問器,因為必須給構造函數提供名稱。 -
Demonstrates that for simple propertiesthose that merely assign and retrieve a private data memberit is not necessary to explicitly define the get and set accessor functions
演示對于簡單屬性(即只分配和檢索私有數據成員的屬性) ,無須顯式定義get和set訪問器函數。 -
Shows how to declare a sealed or abstract property by defining a non - trivial property and specifying the abstract or sealed keywords on the get and set accessor functions
說明如何通過定義一個重要的屬性並在get和set訪問器函數中指定abstract或sealed關鍵字,聲明密封或抽象屬性。
分享友人