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

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

SoapHeaderCollection.Insert メソッド

SoapHeaderCollection 内の指定したインデックス位置に、SoapHeader挿入します

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

Public Sub Insert ( _
    index As Integer, _
    header As SoapHeader _
)
Dim instance As SoapHeaderCollection
Dim index As Integer
Dim header As SoapHeader

instance.Insert(index, header)
public void Insert (
    int index,
    SoapHeader header
)
public:
void Insert (
    int index, 
    SoapHeader^ header
)
public void Insert (
    int index, 
    SoapHeader header
)

パラメータ

index

SoapHeader を SoapHeaderCollection に挿入する位置の、0 から始まるインデックス番号

header

SoapHeaderCollection挿入する SoapHeader

例外例外
例外種類条件

ArgumentOutOfRangeException

index パラメータSoapHeaderCollection 内の有効なインデックスではありません。

解説解説
使用例使用例
mySoapHeader = New MySoapHeader()
mySoapHeader.text = "This header is inserted before the first
 header"
mySoapHeaderCollection.Insert(0, mySoapHeader)
mySoapHeader = new MySoapHeader();
mySoapHeader.text = "This header is inserted before the first header";
mySoapHeaderCollection.Insert(0, mySoapHeader);
mySoapHeader = gcnew MySoapHeader;
mySoapHeader->text = "This header is inserted before the first header";
mySoapHeaderCollection->Insert( 0, mySoapHeader );
mySoapHeader = new MySoapHeader();
mySoapHeader.text = "This header is inserted before the first header";
mySoapHeaderCollection.Insert(0, mySoapHeader);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapHeaderCollection クラス
SoapHeaderCollection メンバ
System.Web.Services.Protocols 名前空間
Insert
IList
SoapHeader クラス
CollectionBase



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS