次の方法で共有


SoapHeaderCollection.IndexOf メソッド

SoapHeaderCollection 内の SoapHeader のインデックスを確認します。

Public Function IndexOf( _
   ByVal header As SoapHeader _) As Integer
[C#]
public int IndexOf(SoapHeaderheader);
[C++]
public: int IndexOf(SoapHeader* header);
[JScript]
public function IndexOf(
   header : SoapHeader) : int;

パラメータ

戻り値

header パラメータが SoapHeaderCollection 内に存在する場合は、そのインデックス。それ以外の場合は -1。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

SoapHeaderCollection クラス | SoapHeaderCollection メンバ | System.Web.Services.Protocols 名前空間 | IndexOf | IList | SoapHeader