IFileAssociationCollection.Remove(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 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
.