System.AutoCmd.SetName

From RAD Studio API Documentation
Jump to: navigation, search

C++

AutoCmd& SetName(const String& name);

Properties

Type Visibility Source Unit Parent
function public sysvari.h System AutoCmd

Description

Sets the name of the method represented by the AutoCmd object.

Use SetName to associate the AutoCmd object with a specific method on an Automation interface. The name parameter is the name of the interface method.

Typically, the AutoCmd constructor specifies the name of the method. Use SetName to change the method represented by the object.

See Also