This documentation is archived and is not being maintained.
DiscoveryClientResultCollection.Remove Method
.NET Framework 1.1
Removes the first occurrence of a specific DiscoveryClientResult from the DiscoveryClientResultCollection.
[Visual Basic] Public Sub Remove( _ ByVal value As DiscoveryClientResult _ ) [C#] public void Remove( DiscoveryClientResult value ); [C++] public: void Remove( DiscoveryClientResult* value ); [JScript] public function Remove( value : DiscoveryClientResult );
Parameters
- value
- The DiscoveryClientResult to remove from the DiscoveryClientResultCollection.
Remarks
The DiscoveryClientResult elements that follow the removed DiscoveryClientResult move up to occupy the vacated spot.
Example
[Visual Basic] ' Remove the first DiscoveryClientResult from the collection. myDiscoveryClientResultCollection.Remove( _ myDiscoveryClientResultCollection(0)) [C#] // Remove the first DiscoveryClientResult from the collection. myDiscoveryClientResultCollection.Remove( myDiscoveryClientResultCollection[0]); [C++] // Remove the first DiscoveryClientResult from the collection. myDiscoveryClientResultCollection->Remove( myDiscoveryClientResultCollection->Item[0]);
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
DiscoveryClientResultCollection Class | DiscoveryClientResultCollection Members | System.Web.Services.Discovery Namespace
Show: