ShellUtilitiesSetAccessibleName Method |
Sets text that is retrieved by accessibility tools to obtain the Name Property of an object.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static int SetAccessibleName(
Object obj,
string name,
bool throwOnError = true
)
Parameters
- obj
- Type: SystemObject
The object. - name
- Type: SystemString
A string containing the name. - throwOnError (Optional)
- Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.
Return Value
Type:
Int32An error code or 0.
See Also