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

'宣言
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

Return Value

Type: System.Boolean
True if the specified attachment is located in this collection; otherwise, false.

.NET Framework Security

See Also

Reference

AttachmentCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace