Freigeben über


DiscoveryClientResultCollection.Remove-Methode

Entfernt das erste Vorkommen eines bestimmten DiscoveryClientResult aus der DiscoveryClientResultCollection.

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public Sub Remove ( _
    value As DiscoveryClientResult _
)
'Usage
Dim instance As DiscoveryClientResultCollection
Dim value As DiscoveryClientResult

instance.Remove(value)
public void Remove (
    DiscoveryClientResult value
)
public:
void Remove (
    DiscoveryClientResult^ value
)
public void Remove (
    DiscoveryClientResult value
)
public function Remove (
    value : DiscoveryClientResult
)

Parameter

Hinweise

Die DiscoveryClientResult-Elemente, die an die Stelle des entfernten DiscoveryClientResult rücken, um die freie Stelle zu schließen.

Beispiel

' Remove the first DiscoveryClientResult from the collection.
myDiscoveryClientResultCollection.Remove( _
   myDiscoveryClientResultCollection(0))
// Remove the first DiscoveryClientResult from the collection.
myDiscoveryClientResultCollection.Remove(
    myDiscoveryClientResultCollection[0]);
// Remove the first DiscoveryClientResult from the collection.
myDiscoveryClientResultCollection->Remove( myDiscoveryClientResultCollection[ 0 ] );
// Remove the first DiscoveryClientResult from the collection.
myDiscoveryClientResultCollection.
    Remove(myDiscoveryClientResultCollection.get_Item(0));

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

DiscoveryClientResultCollection-Klasse
DiscoveryClientResultCollection-Member
System.Web.Services.Discovery-Namespace