DataPackagePropertySet.First 方法

定义

返回一个迭代器,用于枚举属性集中的项。

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

返回

IIterator<IKeyValuePair<String,Object>>

IIterator<KeyValuePair<String,Object>>

IIterator<IKeyValuePair<Platform::String,Platform::Object>>

IIterator<IKeyValuePair<winrt::hstring,IInspectable>>

DataPackage 对象中的第一项。

实现

注解

有关详细信息,请参阅 IIterable (IKeyValuePair)

适用于