Table of Contents

TTMSFNCPlannerData.FindResourceByName Method

Finds a resource by its Name property and returns it, or nil when no match is found.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerData

Syntax

function FindResourceByName(AName: String): TTMSFNCPlannerResource; virtual;

Parameters

Name Description
AName The resource name to search for.

Returns

The matching resource, or nil if no resource has the specified name.