Partager via


Contains méthode (AttributeRelationship)

Indicates whether the collection contains the specified AttributeRelationship.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Contains ( _
    item As AttributeRelationship _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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