Folders. Get Folder For User Async(User, KnownFolderId) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public: static IAsyncOperation<StorageFolder ^> ^ GetFolderForUserAsync(User ^ user, KnownFolderId folderId);
/// [Windows.Foundation.Metadata.RemoteAsync] static IAsyncOperation<StorageFolder> GetFolderForUserAsync(User const& user, KnownFolderId const& folderId);
[Windows.Foundation.Metadata.RemoteAsync] public static IAsyncOperation<StorageFolder> GetFolderForUserAsync(User user, KnownFolderId folderId);
function getFolderForUserAsync(user, folderId)
Public Shared Function GetFolderForUserAsync (user As User, folderId As KnownFolderId) As IAsyncOperation(Of StorageFolder)
The ID of the folder to be returned.
When this method completes, it returns the requested StorageFolder object.
Windows 10 (introduced in 10.0.10586.0)
Windows.Foundation.UniversalApiContract (introduced in v2.0)