Skip to main content
Table of Contents

TTMSMCPNameAttribute Class

Publishes a method or a parameter under an explicit name.

API unit family: TMS.MCP.Attributes Inherits from: TTMSMCPCustomValueAttribute Implements: ITMSMCPNameAttribute

Syntax

GeneratedPascalC++
TTMSMCPNameAttribute = class(TTMSMCPCustomValueAttribute, ITMSMCPNameAttribute)
class PASCALIMPLEMENTATION TTMSMCPNameAttribute : public TTMSMCPCustomValueAttribute, public ITMSMCPNameAttribute

Remarks

Applied to a method the value replaces the generated <ClassName>_<MethodName> name; applied to a parameter it replaces the Delphi identifier with the argument name clients send.

Properties

Name Description
Value Text value carried by the attribute. (inherited from TTMSMCPCustomValueAttribute)

Used by