共用方式為


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)

適用於