IFileExtensionRegistryService.RemoveFileExtension(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified file extension from the registry.
public:
void RemoveFileExtension(System::String ^ extension);
public:
void RemoveFileExtension(Platform::String ^ extension);
void RemoveFileExtension(std::wstring const & extension);
public void RemoveFileExtension (string extension);
abstract member RemoveFileExtension : string -> unit
Public Sub RemoveFileExtension (extension As String)
Parameters
- extension
- String
The file extension (the period is optional).
Remarks
If the specified extension does not exist, then the method does nothing.