Partager via


Contains méthode (String)

Indicates whether the collection contains the AttributeRelationship, identified by attributeId

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

Syntaxe

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

Paramètres

Valeur de retour

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