Table of Contents

TTMSFNCFilterRulesManager.GetRuleByName Method

Returns the first rule whose Name matches AName (case-insensitive), or nil when not found.

API unit family: TMS.TMSFNCFilterRulesManager Declaring type: TTMSFNCFilterRulesManager Inherited from: TTMSFNCCustomFilterRulesManager

Syntax

function GetRuleByName(const AName: string): TTMSFNCFilterRule;

Parameters

Name Description
AName Name to look up.

Returns

The first matching rule, or nil when no rule with that name exists.