Freigeben über


IFileExtensionRegistryService.RemoveFileExtension(String) Method

Definition

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.

Applies to