共用方式為


AttachmentCollection.Remove Method

Removes the specified attachment from this collection.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'宣告
Public Sub Remove ( _
    attachment As Attachment _
)
public void Remove(
    Attachment attachment
)
public:
void Remove(
    Attachment^ attachment
)
member Remove : 
        attachment:Attachment -> unit 
public function Remove(
    attachment : Attachment
)

Parameters

.NET Framework Security

See Also

Reference

AttachmentCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace