Share via


AttributeRelationshipCollection.IndexOf Método

Definición

Sobrecargas

IndexOf(AttributeRelationship)

Busca el elemento AttributeRelationship especificado y devuelve su índice de base cero en la colección.

IndexOf(String)

Busca un elemento AttributeRelationship con el AttributeID especificado y devuelve su índice de base cero en la colección.

IndexOf(AttributeRelationship)

Busca el elemento AttributeRelationship especificado y devuelve su índice de base cero en la colección.

public int IndexOf (Microsoft.AnalysisServices.AttributeRelationship item);
override this.IndexOf : Microsoft.AnalysisServices.AttributeRelationship -> int
Public Function IndexOf (item As AttributeRelationship) As Integer

Parámetros

item
AttributeRelationship

AttributeRelationship que se va a buscar en la colección.

Devoluciones

Índice de base cero de AttributeRelationship en la colección, si se encuentra; en caso contrario, -1.

Se aplica a

IndexOf(String)

Busca un elemento AttributeRelationship con el AttributeID especificado y devuelve su índice de base cero en la colección.

public int IndexOf (string attributeId);
override this.IndexOf : string -> int
Public Function IndexOf (attributeId As String) As Integer

Parámetros

attributeId
String

AttributeID del elemento AttributeRelationship que se va a buscar en la colección.

Devoluciones

Índice de base cero de AttributeRelationship en la colección, si se encuentra; en caso contrario, -1.

Se aplica a