IUIAutomationElement::CurrentClassName Property
Retrieves the class name of the element.
Syntax
HRESULT IUIAutomationElement::get_CurrentClassName(BSTR *retVal);
Parameters
- retVal
The address of a BSTR that receives the class name.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The value of this property is implementation-defined. The property is useful in testing environments.
See Also
UIA_ClassNamePropertyId, IUIAutomationElement, IUIAutomationElement::CachedClassName