DiscoveryClientReferenceCollection から指定した URL の DiscoveryReference を削除します。
Public Sub Remove( _
ByVal url As String _)
[C#]
public void Remove(stringurl);
[C++]
public: void Remove(String* url);
[JScript]
public function Remove(
url : String);
パラメータ
- url
DiscoveryClientReferenceCollection から削除するオブジェクトの URL を表す文字列。
使用例
Dim myDiscoveryDocumentReference As New DiscoveryDocumentReference()
Dim myStringUrl As String = "https://www.contoso.com/service.disco"
myDiscoveryClientReferenceCollection.Add(myStringUrl, _
myDiscoveryDocumentReference)
myDiscoveryClientReferenceCollection.Remove(myStringUrl)
[C#]
DiscoveryDocumentReference myDiscoveryDocumentReference =
new DiscoveryDocumentReference();
string myStringUrl = "https://www.contoso.com/service.disco";
myDiscoveryClientReferenceCollection.Add(myStringUrl,
myDiscoveryDocumentReference);
myDiscoveryClientReferenceCollection.Remove(myStringUrl);
[C++]
DiscoveryDocumentReference* myDiscoveryDocumentReference =
new DiscoveryDocumentReference();
String* myStringUrl = S"https://www.contoso.com/service.disco";
myDiscoveryClientReferenceCollection->Add(myStringUrl,
myDiscoveryDocumentReference);
myDiscoveryClientReferenceCollection->Remove(myStringUrl);
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
DiscoveryClientReferenceCollection クラス | DiscoveryClientReferenceCollection メンバ | System.Web.Services.Discovery 名前空間