Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

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?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?