ServiceDescriptionCollection.Remove メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As ServiceDescriptionCollection Dim serviceDescription As ServiceDescription instance.Remove(serviceDescription)

このメソッドは順次検索を実行します。したがって、平均検索時間は Count に比例します。
空白になった位置を埋めるために、削除された ServiceDescription の後にある要素の位置が繰り上がります。

' Get the index of 'ServiceDescription' object. Dim myIndex As Integer = myCollection.IndexOf(myServiceDescription2) ' Remove 'ServiceDescription' object from the collection. myCollection.Remove(myServiceDescription2) Console.WriteLine("Element at index {0} is removed ", myIndex.ToString())
// Get the index of 'ServiceDescription' object. int myIndex = myCollection.IndexOf(myServiceDescription2); // Remove 'ServiceDescription' object from the collection. myCollection.Remove(myServiceDescription2); Console.WriteLine("Element at index {0} is removed ", myIndex);

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からServiceDescriptionCollection.Remove メソッドを検索する場合は、下記のリンクをクリックしてください。

- ServiceDescriptionCollection.Remove メソッドのページへのリンク