XamlApplicationExtensions.GetOrCreateXamlMetadataContainer 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.
Gets and returns the current UWP XAML Application instance in a reference parameter. If the current XAML Application instance has not been created for the process (is null), a new XamlApplication instance is created and returned.
public static Microsoft.Toolkit.Win32.UI.XamlHost.IXamlMetadataContainer GetOrCreateXamlMetadataContainer();
static member GetOrCreateXamlMetadataContainer : unit -> Microsoft.Toolkit.Win32.UI.XamlHost.IXamlMetadataContainer
Public Shared Function GetOrCreateXamlMetadataContainer () As IXamlMetadataContainer
Returns
The instance of <seealso cref="T:Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication"></seealso>