Share via


AttributeRelationshipCollection.IndexOfName(String) Method

Definition

Obtain the index of an AttributeRelationship object with the specified name within the AttributeRelationshipCollection.

public int IndexOfName (string name);

Parameters

name
String

A string with the name of the AttributeRelationship object to look for.

Returns

The zero-based index of the element in the collection if found; otherwise -1.

Applies to