Compartilhar via


Método Contains (String)

Indicates whether the collection contains a specific AggregationInstanceAttribute.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    attributeId As String _
) As Boolean
'Uso
Dim instance As AggregationInstanceAttributeCollection
Dim attributeId As String
Dim returnValue As Boolean

returnValue = instance.Contains(attributeId)
public bool Contains(
    string attributeId
)
public:
bool Contains(
    String^ attributeId
)
member Contains : 
        attributeId:string -> bool 
public function Contains(
    attributeId : String
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
Returns true if the identified AggregationInstanceAttribute exists in the collection; otherwise, false