DisplayTarget.IsConnected Property
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 a Boolean value indicating whether a monitor was connected to this DisplayTarget when it was created.
public:
property bool IsConnected { bool get(); };
bool IsConnected();
public bool IsConnected { get; }
var boolean = displayTarget.isConnected;
Public ReadOnly Property IsConnected As Boolean
Property Value
Boolean
bool
true
if a monitor was connected to this DisplayTarget when it was created, otherwise false
.