Version

Remove(String) Method

Removes the named reference with the specified key from the collection.
Syntax
'Declaration
 
Public Overloads Sub Remove( _
   ByVal namedReferenceKey As String _
) 
public void Remove( 
   string namedReferenceKey
)

Parameters

namedReferenceKey
The key of the named reference to be removed.
Exceptions
ExceptionDescription
System.ArgumentExceptionThrown when no named reference with the Key of namedReferenceKey exists within this collection.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also