Click or drag to resize
IGDStorageItem2GetParentAsync Method
Gets the parent folder of the current storage item.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
IAsyncOperation<GDStorageFolder> GetParentAsync()

Return Value

Type: IAsyncOperationGDStorageFolder
When this method completes, it returns the parent folder as a GDStorageFolder.
Remarks
This method returns null if you can’t get to the parent instead of raising an exception.
See Also