Share via


ContentIndexer.RetrievePropertiesAsync Metodo

Definizione

Ottiene le proprietà del contenuto in base all'identificatore di contenuto specificato.

public:
 virtual IAsyncOperation<IMapView<Platform::String ^, Platform::Object ^> ^> ^ RetrievePropertiesAsync(Platform::String ^ contentId, IIterable<Platform::String ^> ^ propertiesToRetrieve) = RetrievePropertiesAsync;
IAsyncOperation<IMapView<winrt::hstring, IInspectable const&>> RetrievePropertiesAsync(winrt::hstring const& contentId, IIterable<winrt::hstring> const& propertiesToRetrieve);
public IAsyncOperation<IReadOnlyDictionary<string,object>> RetrievePropertiesAsync(string contentId, IEnumerable<string> propertiesToRetrieve);
function retrievePropertiesAsync(contentId, propertiesToRetrieve)
Public Function RetrievePropertiesAsync (contentId As String, propertiesToRetrieve As IEnumerable(Of String)) As IAsyncOperation(Of IReadOnlyDictionary(Of String, Object))

Parametri

contentId
String

Platform::String

winrt::hstring

Identificatore per le proprietà del contenuto.

propertiesToRetrieve

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Proprietà recuperate, in base a contentId.

Restituisce

Al termine di questo metodo, restituisce le proprietà recuperate come mappa di coppie chiave-valore.

Si applica a