PinnedContactManager.IsPinSurfaceSupported(PinnedContactSurface) 方法

定义

指示 Windows UI 中的指定位置是否支持联系人固定。

public:
 virtual bool IsPinSurfaceSupported(PinnedContactSurface surface) = IsPinSurfaceSupported;
bool IsPinSurfaceSupported(PinnedContactSurface const& surface);
public bool IsPinSurfaceSupported(PinnedContactSurface surface);
function isPinSurfaceSupported(surface)
Public Function IsPinSurfaceSupported (surface As PinnedContactSurface) As Boolean

参数

surface
PinnedContactSurface

一个 pinnedContactSurface 值,该值指定 Windows UI 中的固定位置。 此属性确定该位置是否支持固定。

返回

Boolean

bool

true 如果 Windows UI 中的位置支持联系人固定,则为 ;否则为 false

Windows 要求

应用功能
contactsSystem

注解

如果应用处理 Window.SizeChanged 事件,此属性可能很有用。 当视图在监视器之间更改时,将引发该事件。 在 WindowSizeChanged 事件处理程序中,可以使用此属性来确定新监视器是否支持固定。

适用于