Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorageCustomFolder.IndexOf(TdxCloudStorageItem) Method

Returns the index of the specified resource within the folder.

#Declaration

Delphi
function IndexOf(AItem: TdxCloudStorageItem): Integer;

#Parameters

Name Type
AItem TdxCloudStorageItem

#Returns

Type
Integer

#Remarks

Call this function to obtain the index of a file or folder within the current folder by the corresponding metadata container passed as the AItem parameter. The IndexOf function calls the Children.IndexOf function internally to identify the specified container’s index within the collection of nested resource metadata containers. The function returns -1 if there is no such container within the collection (that is, the corresponding file or folder is not within the current folder).

See Also