AbstractPath.GetExtension

AbstractPath.GetExtension method

Returns the extension of this AbstractPath.

public string GetExtension()

Return Value

The extension of this AbstractPath (including the period “.”) or an empty string if the AbstractPath has no extension.

Examples

For an AbstractPath with Location equal to "/directory/file.txt" this property returns ".txt".

See Also