Share via


IUIAutomation::GetPropertyProgrammaticName Method

Retrieves the registered programmatic name of a property.

Syntax

HRESULT GetPropertyProgrammaticName(      
    PROPERTYID property,
    BSTR *name
);

Parameters

  • property
    [in] The property identifier. For a list of property IDs, see Property Identifiers.
  • name
    [out, retval] The address of a variable that receives a pointer to the name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The programmatic name is intended for debugging and diagnostic purposes only. The string is not localized.

This property should not be used in string comparisons. To determine whether two properties are the same, compare the property identifiers directly.