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

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

XmlArrayItemAttributes.IndexOf メソッド

コレクション内で指定した XmlArrayItemAttribute が最初に見つかった位置の 0 から始まるインデックスを返します。属性がコレクション内で見つからなかった場合は 1 を返します。

名前空間: System.Xml.Serialization
アセンブリ: System.Xml (system.xml.dll 内)
構文構文

Public Function IndexOf ( _
    attribute As XmlArrayItemAttribute _
) As Integer
Dim instance As XmlArrayItemAttributes
Dim attribute As XmlArrayItemAttribute
Dim returnValue As Integer

returnValue = instance.IndexOf(attribute)
public int IndexOf (
    XmlArrayItemAttribute attribute
)
public:
int IndexOf (
    XmlArrayItemAttribute^ attribute
)
public int IndexOf (
    XmlArrayItemAttribute attribute
)
public function IndexOf (
    attribute : XmlArrayItemAttribute
) : int

パラメータ

attribute

コレクション内で検索する XmlArrayItemAttribute。

戻り値
コレクション内の XmlArrayItemAttribute の最初のインデックス。コレクション内に属性が存在しない場合は -1。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
XmlArrayItemAttributes クラス
XmlArrayItemAttributes メンバ
System.Xml.Serialization 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



XmlArrayItemAttributes.IndexOf メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS