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

TdxCloudStorageFile.GetExtension Method

Returns the filename extension corresponding to the stored file’s format.

#Declaration

Delphi
function GetExtension: string;

#Returns

Type
string

#Remarks

Call this function to obtain the filename extension corresponding to the stored file’s actual format. If the Name property value includes the filename extension, the GetExtension function returns it; otherwise, returns the extension corresponding to the file’s MIME content type (in the case of Google Documents) or an empty string.

The GetExtension function internally calls the active cloud data provider‘s GetExtension function passing the file metadata container as a parameter.

See Also