HasExtension()

Path::HasExtension(const String&) method

Determines if the specified path references a file with extension.

static bool System::IO::Path::HasExtension(const String &path)

Arguments

ParameterTypeDescription
pathconst String&A path to check

Return Value

True if path references a file with extension, otherwise - false

See Also