NewItemPlaceholderPosition 列舉

定義

指定新項目的預留位置出現在集合中的位置。Specifies where the placeholder for a new item appears in the collection.

public enum class NewItemPlaceholderPosition
public enum NewItemPlaceholderPosition
type NewItemPlaceholderPosition = 
Public Enum NewItemPlaceholderPosition
繼承
NewItemPlaceholderPosition

欄位

AtBeginning 1

新項目的預留位置出現在集合的開頭。The placeholder for a new item appears at the beginning of the collection. 新項目是在集合的開頭,而在新項目預留位置之後。New items are at the beginning of the collection, after the new item placeholder.

AtEnd 2

新項目的預留位置出現在集合的結尾。The placeholder for a new item appears at the end of the collection. 新項目加入集合的結尾,而在新項目預留位置之前。New items are added at the end of the collection, before the new item placeholder.

None 0

集合不會使用新的項目預留位置。The collection does not use a new item placeholder. 所加入項目的位置取決於基礎集合。The position of items that are added depends on the underlying collection. 通常,它們會加到集合的結尾。Usually, they are added at the end of the collection.

適用於