SystemParameters.IsRemotelyControlled 属性

定义

获取一个值,该值指示当前会话是否为远程控制的。

public:
 static property bool IsRemotelyControlled { bool get(); };
public static bool IsRemotelyControlled { [System.Security.SecurityCritical] get; }
public static bool IsRemotelyControlled { get; }
[<get: System.Security.SecurityCritical>]
static member IsRemotelyControlled : bool
static member IsRemotelyControlled : bool
Public Shared ReadOnly Property IsRemotelyControlled As Boolean

属性值

如果当前会话是远程控制的,则为 true;否则为 false

属性

注解

此系统指标在终端服务环境中使用。

映射到SM_REMOTECONTROL。 请参阅 GetSystemMetrics

XAML 属性使用方法

<object property=“{ SystemParameters.IsRemotelyControlled}”/>

适用于