Sdílet prostřednictvím


AttributeRelationshipCollection.Contains Method (String)

Indicates whether the collection contains the AttributeRelationship, identified by attributeId

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

Syntax

'Declaration
Public Function Contains ( _
    attributeId As String _
) As Boolean
'Usage
Dim instance As AttributeRelationshipCollection
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

Parameters

Return Value

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