TTMSMCPTargets.FindByObject Method
Searches the collection for the target of an object.
API unit family: TMS.MCP.Attributes.Server
Declaring type: TTMSMCPTargets
Syntax
function FindByObject(AObject: TObject): TTMSMCPTarget;
Parameters
| Name | Description |
|---|---|
AObject |
Instance to look for. |
Returns
The matching target, or nil when the instance is not in the collection.