Sdílet prostřednictvím


JsonObject.First Method

Definition

Returns the iterator for iteration over the key/value pairs in the JsonObject.

public:
 virtual IIterator<IKeyValuePair<Platform::String ^, IJsonValue ^> ^> ^ First() = IIterable<IKeyValuePair<Platform::String ^, IJsonValue ^> ^>::First;
IIterator<IKeyValuePair<winrt::hstring, IJsonValue const&>> First();
public IIterator<KeyValuePair<string,IJsonValue>> First();
function first()
Public Function First () As IIterator(Of KeyValuePair(Of String, IJsonValue))

Returns

The iterator object. The iterator's current position is at the 0-index position, or at the array end if the array is empty.

Implements

Applies to