FolderInformation.GetItemAsync(String) Metodo

Definizione

Recupera un elemento dalla cartella .

public:
 virtual IAsyncOperation<IStorageItem ^> ^ GetItemAsync(Platform::String ^ name) = GetItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IStorageItem> GetItemAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IStorageItem> GetItemAsync(string name);
function getItemAsync(name)
Public Function GetItemAsync (name As String) As IAsyncOperation(Of IStorageItem)

Parametri

name
String

Platform::String

winrt::hstring

Nome dell'elemento da recuperare.

Restituisce

Al termine di questo metodo, restituisce l'elemento (tipo IStorageItem).

Implementazioni

M:Windows.Storage.IStorageFolder.GetItemAsync(System.String) M:Windows.Storage.IStorageFolder.GetItemAsync(Platform::String) M:Windows.Storage.IStorageFolder.GetItemAsync(winrt::hstring)
Attributi

Si applica a