Partilhar via


SetEnumerator.Current Method

Definition

Retrieves the value that is pointed to by the enumerator.

public:
 virtual System::Object ^ Current();
public object Current ();
abstract member Current : unit -> obj
override this.Current : unit -> obj
Public Function Current () As Object

Returns

The value that is currently pointed to in the set.

Implements

Remarks

The type of the return value is determined by the type of items in the set. You must call the SetEnumerator.moveNext method before you call the current method.

Applies to