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