MapIterator.valuePair 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 a container that holds the key and the value.
public:
virtual cli::array <System::Object ^> ^ valuePair();
public virtual object[] valuePair ();
abstract member valuePair : unit -> obj[]
override this.valuePair : unit -> obj[]
Public Overridable Function valuePair () As Object()
Returns
Object[]
A container that holds the key and the value.
Remarks
Objects cannot reside in containers. Therefore, an exception is raised if either the key or the value is an object.