GradientStopCollection.Enumerator.MoveNext 方法

定義

將列舉程式前移至集合中的下一個元素。Advances the enumerator to the next element in the collection.

public:
 virtual bool MoveNext();
public bool MoveNext ();
abstract member MoveNext : unit -> bool
override this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean

傳回

如果成功將列舉值設為下一個項目則為 true,否則為 falsetrue if the enumerator successfully advanced to the next element; otherwise, false.

實作

備註

false如果列舉值已通過集合中的最後一個元素, 這個方法也會傳回。This method also returns false if the enumerator has passed the final element in the collection.

適用於