次の方法で共有


AttributeRelationshipCollection.IndexOfName(String) メソッド

定義

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 です。

適用対象