Compartilhar via


AggregationAttributeCollection.IndexOf Método

Definição

Sobrecargas

IndexOf(AggregationAttribute)

Pesquisa o AggregationAttribute especificado e retorna o respectivo índice de base zero na coleção.

IndexOf(String)

Procura um AggregationAttribute com o AttributeID especificado e retorna o seu índice baseado em zero na coleção.

IndexOf(AggregationAttribute)

Pesquisa o AggregationAttribute especificado e retorna o respectivo índice de base zero na coleção.

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

Parâmetros

item
AggregationAttribute

O AggregationAttribute a ser localizado na coleção.

Retornos

O índice baseado em zero do AggregationAttribute na coleção, se encontrado; caso contrário, -1.

Aplica-se a

IndexOf(String)

Procura um AggregationAttribute com o AttributeID especificado e retorna o seu índice baseado em zero na coleção.

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

Parâmetros

attributeId
String

A AttributeID do AggregationAttribute a localizar na coleção.

Retornos

O índice baseado em zero do AggregationAttribute na coleção, se encontrado; caso contrário, -1.

Aplica-se a