IOnlineStatus.IsOnline IOnlineStatus.IsOnline IOnlineStatus.IsOnline IOnlineStatus.IsOnline Property

定义

获取一个值,它指示实例是否具有网络连接并已连接到资源。Gets a value that indicates whether the instance has network connectivity and is connected to a resource.

public:
 property bool IsOnline { bool get(); };
public bool IsOnline { get; }
member this.IsOnline : bool
Public ReadOnly Property IsOnline As Boolean

属性值

true如果当前实例在网络上可用, 则为;否则为falsetrue if the current instance is available on the network; otherwise, false.

适用于