다음을 통해 공유


IVsExpansionEnumeration.Reset Method

Definition

Resets the enumeration to the beginning.

public:
 int Reset();
public:
 int Reset();
int Reset();
public int Reset ();
abstract member Reset : unit -> int
Public Function Reset () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Once reset, the next call to the Next method returns the first item in the enumeration. This method does not need to be called when the enumeration is first obtained.

COM Signature

From textmgr2.idl:

HRESULT IVsExpansionEnumeration::Reset();  

Applies to