Table of Contents

TTMSFNCWXContainerElementActions.GetByName Method

Returns the action with the given name and raises an exception when no match is found.

API unit family: TMSFNCWXContainer Declaring type: TTMSFNCWXContainerElementActions

Syntax

function GetByName(AName: string): TTMSFNCWXContainerElementAction;

Parameters

Name Description
AName The name to search for (case-insensitive).

Returns

The matching action.

Exceptions

Exception Description
Exception Raised when no action with the given name exists.