Partager via


Méthode Contains (AttributePermission)

Indicates whether the collection contains a specified AttributePermission.

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

Syntaxe

'Déclaration
Public Function Contains ( _
    item As AttributePermission _
) As Boolean
'Utilisation
Dim instance As AttributePermissionCollection
Dim item As AttributePermission
Dim returnValue As Boolean

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

Valeur de retour

Type : System. . :: . .Boolean
true if the AttributePermission is contained in the collection; otherwise, false.