Checks whether the specified attachment is located in this collection.
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
'Declaration Public Function Contains ( _ attachment As Attachment _ ) As Boolean
public bool Contains( Attachment attachment )
public: bool Contains( Attachment^ attachment )
member Contains : attachment:Attachment -> bool
public function Contains( attachment : Attachment ) : boolean
The attachment of interest.
True if the specified attachment is located in this collection; otherwise, false.
.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.