MimePartCollection.Remove メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MimePartCollection.Remove メソッドの意味・解説 

MimePartCollection.Remove メソッド

MimePartCollection 内で最初に見つかった指定MimePart削除します

名前空間: System.Web.Services.Description
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Sub Remove ( _
    mimePart As MimePart _
)
Dim instance As MimePartCollection
Dim mimePart As MimePart

instance.Remove(mimePart)
public void Remove (
    MimePart mimePart
)
public:
void Remove (
    MimePart^ mimePart
)
public void Remove (
    MimePart mimePart
)
public function Remove (
    mimePart : MimePart
)

パラメータ

mimePart

コレクションから削除する MimePart。

解説解説
使用例使用例

Remove メソッド典型的な使用例を次に示します

Console.WriteLine("Removing a mimepart object...")
' Remove the mimepart from the mimepartcollection.
myMimePartCollection.Remove(myMimePart1)
' Check whether the mimepart is removed or not.
If Not myMimePartCollection.Contains(myMimePart1)
 Then
   Console.WriteLine("Mimepart is succesfully removed from mimepartcollection")
End If
Console.WriteLine("Removing a mimepart object...");
// Remove the mimepart from the mimepartcollection.
myMimePartCollection.Remove(myMimePart1);
// Check whether the mimepart is removed or not.
if(!myMimePartCollection.Contains(myMimePart1))
{
   Console.WriteLine("Mimepart is succesfully removed from mimepartcollection");
}
Console::WriteLine( "Removing a mimepart object..." );

// Remove the mimepart from the mimepartcollection.
myMimePartCollection->Remove( myMimePart1 );

// Check whether the mimepart is removed or not.
if (  !myMimePartCollection->Contains( myMimePart1 ) )
   Console::WriteLine( "Mimepart is succesfully removed from mimepartcollection"
 );
Console.WriteLine("Removing a mimepart object...");

// Remove the mimepart from the mimepartcollection.
myMimePartCollection.Remove(myMimePart1);

// Check whether the mimepart is removed or not.
if (!(myMimePartCollection.Contains(myMimePart1))) {
    Console.WriteLine("Mimepart is succesfully removed "
        + "from mimepartcollection");
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MimePartCollection クラス
MimePartCollection メンバ
System.Web.Services.Description 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

MimePartCollection.Remove メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MimePartCollection.Remove メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS