Skip to main content
Table of Contents

TTMSFNCCustomFilterRulesManager.GetRuleByName Method

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

API unit family: TMS.TMSFNCFilterRulesManager Declaring type: TTMSFNCCustomFilterRulesManager

Syntax

TMS.TMSFNCFilterRulesManager.hppPascalC++
function GetRuleByName(const AName: string): TTMSFNCFilterRule;
TTMSFNCFilterRule* __fastcall GetRuleByName(const System::UnicodeString AName);

Parameters

Name Description
AName Name to look up.

Returns

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