indexers 中文意思是什麼
indexers
解釋
索引-
A reference type that encapsulates data constants and fields and behavior methods, properties, indexers, events, operators, instance constructors, static constructors, and destructors, and can contain nested types
一種引用類型,它封裝數據和行為,並可以包含嵌套類型,其中數據包括常數和欄位,行為包括方法、屬性、索引器、事件、運算符、實例構造函數、靜態構造函數和析構函數。 -
Property including indexers or other indexed properties
屬性(包括索引程序或其他索引屬性) -
Indexed properties, called indexers or default properties, differ from regular properties in that they take parameters indicating which element in the group to access
索引屬性(稱為索引器或默認屬性)與常規屬性不同,因為索引屬性接受參數,參數指示要訪問組中的哪個元素。 -
Accessors of interface indexers differ from the accessors of
介面索引器的訪問器與 -
Accessor methods of indexers take parameters, while property accessor methods do not
訪問器方法帶有參數,而屬性訪問器方法不帶參數。 -
This sample shows how c classes can declare indexers to provide array - like access to the classes
本示例說明c #類如何聲明索引器以提供對類的類似數組的訪問。 -
Prior knowledge of the field. the indexer needs knowledge of the subject field, the company the indexers are working for, and knowledge of the users ' general and specific information needs
領域內的先備知識。如主題領域、索引者所服務的公司、使用者的一般與特定資訊需求。 -
Indexers can be declared on an
索引器可在 -
Indexers are similar to properties, except that the
索引器與屬性類似,只不過索引器的 -
Use indexers if the collection is based on an array
如果集合基於數組,請使用索引器。 -
Is a refactoring operation that provides an easy way to remove parameters from methods, indexers, or delegates. remove parameters
是一項重構操作,提供了從方法、索引器或委託中移除參數的簡單方法。 -
The following example shows how to implement interface indexers
下面的示例顯示如何實現介面索引器。 -
Passing parameters by reference allows function members, methods, properties, indexers, operators, and constructors, to change the value of the parameters and have that change persist
通過引用傳遞參數允許函數成員(方法、屬性、索引器、運算符和構造函數)更改參數的值,並保持該更改。 -
Indexers can have more than one formal parameter, for example, when accessing a two - dimensional array
索引器可以有多個形參,例如當訪問二維數組時。
分享友人