PathSegmentCollection.Enumerator.Reset 方法

定義

將列舉程式重設為其初始位置,亦即 PathSegmentCollection 中第一個項目之前。Resets the enumerator to its initial position, which is before the first item in the PathSegmentCollection.

public:
 virtual void Reset();
public void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Sub Reset ()

實作

例外狀況

建立列舉程式之後,PathSegmentCollection 已修改。The PathSegmentCollection was modified after the enumerator was created.

適用於

另請參閱