AttributeRelationshipCollection.IndexOfName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtain the index of an AttributeRelationship object with the specified name within the AttributeRelationshipCollection.
public int IndexOfName (string name);
member this.IndexOfName : string -> int
Public Function IndexOfName (name As String) As Integer
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.