Partager via


IFileAssociationCollection.Remove(String) Method

Definition

Removes a file association from the collection.

public:
 void Remove(System::String ^ extension);
public:
 void Remove(Platform::String ^ extension);
void Remove(std::wstring const & extension);
[System.Runtime.InteropServices.DispId(4)]
public void Remove (string extension);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member Remove : string -> unit
Public Sub Remove (extension As String)

Parameters

extension
String

The file name extension for the file type to remove.

Attributes

Exceptions

extension is null.

Applies to