مشاركة عبر


ApplicationDataContainer.CreateContainer Method

Definition

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