Share via


Attachment Constructor (String, String)

Initializes a new file attachment instance.

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

Syntax

'Declaration
Public Sub New ( _
    path As String, _
    comment As String _
)
public Attachment(
    string path,
    string comment
)
public:
Attachment(
    String^ path, 
    String^ comment
)
new : 
        path:string * 
        comment:string -> Attachment
public function Attachment(
    path : String, 
    comment : String
)

Parameters

  • comment
    Type: System.String

    A comment that describes the attached file.

.NET Framework Security

See Also

Reference

Attachment Class

Attachment Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace