Partilhar via


Método Contains (AttributeRelationship)

Indicates whether the collection contains the specified AttributeRelationship.

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

Sintaxe

'Declaração
Public Function Contains ( _
    item As AttributeRelationship _
) As Boolean
'Uso
Dim instance As AttributeRelationshipCollection
Dim item As AttributeRelationship
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    AttributeRelationship item
)
public:
bool Contains(
    AttributeRelationship^ item
)
member Contains : 
        item:AttributeRelationship -> bool 
public function Contains(
    item : AttributeRelationship
) : boolean

Parâmetros

Valor de retorno

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