Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Removes a file association from the collection.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly: Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)
Syntax
'Declaration
Sub Remove ( _
extension As String _
)
void Remove(
string extension
)
void Remove(
String^ extension
)
abstract Remove :
extension:string -> unit
function Remove(
extension : String
)
Parameters
extension
Type: System.StringThe file name extension for the file type to remove.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | extension is nulla null reference (Nothing in Visual Basic). |
Remarks
If the collection does not contain an association for the file name extension, the collection remains unchanged.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.