TdxCloudStorageCustomFolder.IndexOf(TdxCloudStorageItem) Method
Returns the index of the specified resource within the folder.
Declaration
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