IFileAssociationCollection::Remove Method (String^)
Visual Studio 2015
Removes a file association from the collection.
Assembly: Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)
Parameters
- extension
-
Type:
System::String^
The file name extension for the file type to remove.
| Exception | Condition |
|---|---|
| ArgumentNullException | extension is null. |
If the collection does not contain an association for the file name extension, the collection remains unchanged.
Show: