AppWindowPresenter.RequestPresentation 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.
Overloads
RequestPresentation(AppWindowPresentationConfiguration) |
Makes a request to show the window using the specified presentation configuration. |
RequestPresentation(AppWindowPresentationKind) |
Makes a request to show the window using the specified kind of presentation. |
RequestPresentation(AppWindowPresentationConfiguration)
Makes a request to show the window using the specified presentation configuration.
public:
virtual bool RequestPresentation(AppWindowPresentationConfiguration ^ configuration) = RequestPresentation;
/// [Windows.Foundation.Metadata.Overload("RequestPresentation")]
bool RequestPresentation(AppWindowPresentationConfiguration const& configuration);
[Windows.Foundation.Metadata.Overload("RequestPresentation")]
public bool RequestPresentation(AppWindowPresentationConfiguration configuration);
function requestPresentation(configuration)
Public Function RequestPresentation (configuration As AppWindowPresentationConfiguration) As Boolean
Parameters
- configuration
- AppWindowPresentationConfiguration
The presentation configuration to use to show the app window.
Returns
bool
true if the request succeeds; otherwise, false.
- Attributes
Applies to
RequestPresentation(AppWindowPresentationKind)
Makes a request to show the window using the specified kind of presentation.
public:
virtual bool RequestPresentation(AppWindowPresentationKind presentationKind) = RequestPresentation;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("RequestPresentationByKind")]
bool RequestPresentation(AppWindowPresentationKind const& presentationKind);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("RequestPresentationByKind")]
public bool RequestPresentation(AppWindowPresentationKind presentationKind);
function requestPresentation(presentationKind)
Public Function RequestPresentation (presentationKind As AppWindowPresentationKind) As Boolean
Parameters
- presentationKind
- AppWindowPresentationKind
The kind of presentation to use to show the app window.
Returns
bool
true if the request succeeds; otherwise, false.
- Attributes