AttributeRelationshipCollection.Contains Method (AttributeRelationship)
Indicates whether the collection contains the specified AttributeRelationship.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As AttributeRelationship _
) As Boolean
'Usage
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
Parameters
- item
Type: Microsoft.AnalysisServices.AttributeRelationship
Specifies the AttributeRelationship to be located.
Return Value
Type: System.Boolean
Returns true if the specified AttributeRelationship exists in the collection; otherwise, false