Click or drag to resize

ShellUtilitiesSetAccessibleName Method

Sets text that is retrieved by accessibility tools to obtain the Name Property of an object.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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: Int32
An error code or 0.
See Also