Aracılığıyla paylaş


CoreApplicationView.IsHosted Property

Definition

Gets the value that indicates whether this app view is hosted or not.

public:
 property bool IsHosted { bool get(); };
bool IsHosted();
public bool IsHosted { get; }
var boolean = coreApplicationView.isHosted;
Public ReadOnly Property IsHosted As Boolean

Property Value

Boolean

bool

If true, this app view is hosted; if false, it is not.

Remarks

An app view is considered hosted when the process that launched it controls its lifetime. For example, the window that opens when a FileOpenPicker is launched is considered hosted.

Applies to