Internet Direct (Indy)
Home
PreviousUpNext
TIdCommandHandler.NameIs Method

Checks that a command handler has the specified name.

Pascal
function NameIs(
    ACommand: string
): Boolean;
Parameters 
Description 
ACommand 
Name to be compared to the property value. 

Boolean - True when the command handler has the specified name.

NameIs is a Boolean function that allows comparison of the Name property to the value specified in ACommand. NameIs can be used to ensure that a TIdCommandHandler contains the name desired before triggering a procedure used as an action handler.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.