Windows Dev Center

KnownFolders.VideosLibrary | videosLibrary property

Gets the Videos library.

Syntax


var videosLibrary = Windows.Storage.KnownFolders.videosLibrary;

Property value

Type: StorageFolder

The Videos library.

Remarks

Prerequisites

To access the Videos library, in the app manifest, specify the Videos Library capability. Learn more about capabilities in Access to user resources using the Windows Runtime.

Note  

For info about accessing the Videos library in a Windows Phone Store app, see Access media libraries in Windows Phone apps.

Return value

To work with the Videos library and its contents, call the methods and properties of the StorageFolder class.

Libraries let users view related content in a single location. A library is a virtual folder. The folders in a library remain in their original locations. Learn more about libraries in Windows Libraries.

More info

Note  

The Videos Library typically has the following path.

%USERPROFILE%\Videos

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

videosLibrary

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

Capabilities

videosLibrary

See also

KnownFolders
Access media libraries in Windows Phone apps

 

 

Show:
© 2015 Microsoft