NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AccessibleObject.Role

Gets the role of this accessible object.

[Visual Basic]
Overridable Public ReadOnly Property Role As AccessibleRoles
[C#]
public AccessibleRoles Role {virtual get;}
[C++]
public: __property virtual AccessibleRoles get_Role();
[JScript]
public function get Role() : AccessibleRoles;

Property Value

One of the AccessibleRoles values.

Remarks

If this property is a null reference (in Visual Basic Nothing) and the accessible object represents a system control, the system control provides the role.

See Also

AccessibleObject Class | AccessibleObject Members | System.WinForms Namespace | Bounds | DefaultAction | Description | Help | KeyboardShortcut | Name | Parent | State | Value