RestrictedAppContainer.Open | open method
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Retrieves an existing RestrictedAppContainer instance.
Syntax
var restrictedAppContainer = Windows.ApplicationModel.Core.RestrictedAppContainer.open(name);
public static RestrictedAppContainer Open(
string name
)
Public Shared Function Open(
name As String
) As RestrictedAppContainer
public:
static RestrictedAppContainer^ Open(
String^ name
)
Parameters
name
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The identifying name for the RestrictedAppContainer to retrieve.
Return value
Type: RestrictedAppContainer
The retrieved RestrictedAppContainer.
Remarks
Calling this method will throw an exception if no RestrictedAppContainer as identified by the name string exists for the main app container.
Requirements (Windows 10 device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.ApplicationModel.Core Windows::ApplicationModel::Core [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |
Requirements (Windows 8.x and Windows Phone 8.x)
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
None supported |
Namespace |
Windows.ApplicationModel.Core Windows::ApplicationModel::Core [C++] |
Metadata |
Windows.winmd |