Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets whether a specified role player belongs to the collection.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function Contains ( _
    item As T _
) As Boolean
public bool Contains(
    T item
)
public:
virtual bool Contains(
    T item
) sealed
abstract Contains : 
        item:'T -> bool  
override Contains : 
        item:'T -> bool
public final function Contains(
    item : T
) : boolean
Parameters
- item 
 Type: T- The role player to look for in the collection. 
Return Value
Type: System.Boolean
true if the role player is in the collection; otherwise, false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.