ListIterator.Value Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the value that is pointed to by the iterator.
public:
virtual System::Object ^ Value();
public virtual object Value ();
abstract member Value : unit -> obj
override this.Value : unit -> obj
Public Overridable Function Value () As Object
Returns
The value that is pointed to by the iterator.
Remarks
Before you try to retrieve the value of a list element, use the ListIterator.more method to test whether an element exists.