Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ApplicationDataContainer.CreateContainer Method

Definition

Namespace:
Windows.Storage

Important

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.

Creates or opens the specified settings container in the current settings container.

public:
 virtual ApplicationDataContainer ^ CreateContainer(Platform::String ^ name, ApplicationDataCreateDisposition disposition) = CreateContainer;
ApplicationDataContainer CreateContainer(winrt::hstring const& name, ApplicationDataCreateDisposition const& disposition);
public ApplicationDataContainer CreateContainer(string name, ApplicationDataCreateDisposition disposition);
function createContainer(name, disposition)
Public Function CreateContainer (name As String, disposition As ApplicationDataCreateDisposition) As ApplicationDataContainer

Parameters

name
String

Platform::String

winrt::hstring

The name of the container.

disposition
ApplicationDataCreateDisposition

One of the enumeration values.

Returns

The settings container.

Applies to

See also


Feedback

Was this page helpful?