FilePathUtilities::GetFileExtension Method (String^)

 

Gets the file extension from a given file path.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
static String^ GetFileExtension(
	String^ moniker
)

Parameters

moniker
Type: System::String^

The file path.

Return Value

Type: System::String^

The extension (lower case, preceded by ".").

Return to top
Show: