Skip to main content
Table of Contents

TTMSFNCMemoSources.IndexOf Method

Returns the zero-based index of the source whose Name matches the specified string, or -1 if not found.

API unit family: TMSFNCMemo Declaring type: TTMSFNCMemoSources

Syntax

FMX.TMSFNCMemo.hppPascalC++
function IndexOf(Name: string): Integer; overload;
int __fastcall IndexOf(System::UnicodeString Name)/* overload */;

Parameters

Name Description
Name Name of the source buffer to locate.

Returns

Zero-based index of the matching source, or -1 if no match exists.