ApplicationDataContainer.CreateContainer Method
Definition
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.
Create or open the specified settings container in the 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 settings container to create or open.
- disposition
- ApplicationDataCreateDisposition
The ApplicationDataCreateDisposition behavior to use when the container is created or opened.