Method GetCatalogExtension
GetCatalogExtension(string)
Gets the file extension of a catalog path, ignoring any URL query string.
Declaration
public static string GetCatalogExtension(string catalogPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | catalogPath | The catalog path or URL. |
Returns
| Type | Description |
|---|---|
| string | The file extension of the catalog path (including the leading dot), or an empty string if it has none. |