IAccPropServices.SetHwndPropServer 方法

定义

IAccPropServices 接口及其公开的所有成员都属于组件对象模型 (COM) IAccPropServices 接口的托管包装的一部分。

public:
 void SetHwndPropServer(Accessibility::_RemotableHandle % hwnd, System::UInt32 idObject, System::UInt32 idChild, Guid % paProps, int cProps, Accessibility::IAccPropServer ^ pServer, Accessibility::AnnoScope AnnoScope);
public void SetHwndPropServer (ref Accessibility._RemotableHandle hwnd, uint idObject, uint idChild, ref Guid paProps, int cProps, Accessibility.IAccPropServer pServer, Accessibility.AnnoScope AnnoScope);
abstract member SetHwndPropServer : _RemotableHandle * uint32 * uint32 * Guid * int * Accessibility.IAccPropServer * Accessibility.AnnoScope -> unit
Public Sub SetHwndPropServer (ByRef hwnd As _RemotableHandle, idObject As UInteger, idChild As UInteger, ByRef paProps As Guid, cProps As Integer, pServer As IAccPropServer, AnnoScope As AnnoScope)

参数

hwnd
_RemotableHandle

标识要批注的可访问元素。 这会替换标识字符串。

idObject
UInt32

标识要批注的可访问元素。 这会替换标识字符串。

idChild
UInt32

标识要批注的可访问元素。 这会替换标识字符串。

paProps
Guid

指定要由指定回调对象处理的属性数组。

cProps
Int32

指定 paProps 数组中的属性数。

pServer
IAccPropServer

指定将在客户端请求一个已重写属性时调用的回调对象。

AnnoScope
AnnoScope

可以为 ANNO_THIS,指示批注仅影响所指示的可访问元素;也可以为 ANNO_CONTAINER,指示批注应用于元素及其直接子元素。

注解

有关 的详细信息 IAccPropServices,请参阅有关 动态注释的文档。

适用于