Skip to main content

TcxLanguages.GetLanguageByName(string) Method

Finds a language with a specified name and returns this language’s index within the collection.

Declaration

function GetLanguageByName(AName: string): Integer;

Parameters

Name Type
AName string

Returns

Type
Integer

Remarks

AName specifies the language name to be found. This value is compared to the TcxLanguage.Name property when searching.

If the specified name is not found, the method returns -1.

See Also