AttributeRelationshipCollection.IndexOfName(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
AttributeRelationshipCollection 内から、指定した名前の AttributeRelationship オブジェクトのインデックスを取得します。
public int IndexOfName (string name);
member this.IndexOfName : string -> int
Public Function IndexOfName (name As String) As Integer
パラメーター
- name
- String
検索する AttributeRelationship オブジェクトの名前を表す文字列です。
戻り値
コレクション内で見つかった場合は要素の 0 から始まるインデックス、見つからない場合は -1 です。