อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


CAccPropServicesClass.SetHwndPropServer Method

Definition

The CAccPropServicesClass and all of its exposed members are part of a managed wrapper for the Component Object Model (COM) IAccPropServices interface.

C#
public virtual void SetHwndPropServer(ref Accessibility._RemotableHandle hwnd, uint idObject, uint idChild, ref Guid paProps, int cProps, Accessibility.IAccPropServer pServer, Accessibility.AnnoScope AnnoScope);

Parameters

hwnd
_RemotableHandle

Identifies the accessible element that is to be annotated. This replaces the identity string.

idObject
UInt32

Identifies the accessible element that is to be annotated. This replaces the identity string.

idChild
UInt32

Identifies the accessible element that is to be annotated. This replaces the identity string.

paProps
Guid

Specifies an array of properties that is to be handled by the specified callback object.

cProps
Int32

Specifies the number of properties in the paProps array.

pServer
IAccPropServer

Specifies the callback object, which will be invoked when a client requests one of the overridden properties.

AnnoScope
AnnoScope

May be ANNO_THIS, indicating that the annotation affects the indicated accessible element only; or ANNO_CONTAINER, indicating that it applies to the element and its immediate element children.

Implements

Remarks

For more information, see the Microsoft Active Accessibility documentation.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10