AttachmentCollection.Contains Method
Checks whether the specified attachment is located in this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaración
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
Parameters
- attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Attachment
The attachment of interest.
Return Value
Type: System.Boolean
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.