Skip to main content
Table of Contents

TTMSMCPDestructiveAttribute Class

Declares that the tool may perform updates that cannot be undone.

API unit family: TMS.MCP.Attributes Inherits from: TTMSMCPCustomAttribute Implements: ITMSMCPDestructiveAttribute

Syntax

GeneratedPascalC++
TTMSMCPDestructiveAttribute = class(TTMSMCPCustomAttribute, ITMSMCPDestructiveAttribute)
class PASCALIMPLEMENTATION TTMSMCPDestructiveAttribute : public TTMSMCPCustomAttribute, public ITMSMCPDestructiveAttribute

Remarks

Applying the attribute sets the destructive hint to True, which a client typically uses to ask the user for confirmation before the call. The hint is simply absent when the attribute is not applied.

Used by