Click or drag to resize
IGDStorageFolder2TryGetItemAsync Method
Try to get a single file or sub-folder from the current folder by using the name of the item.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
IAsyncOperation<IGDStorageItem> TryGetItemAsync(
	string name
)

Parameters

name
Type: SystemString
The name (or path relative to the current folder) of the file or folder to get.

Return Value

Type: IAsyncOperationIGDStorageItem
When this method completes successfully, it returns the file or folder (type IGDStorageItem).
Remarks
If you simply want to get a file or folder in your app, see the TryGetItemAsync method of the GDStorageFolder class.
See Also