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
'Declaração
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
- path
Type: System.String
The path of the file to attach.
- comment
Type: System.String
A comment that describes the attached file.
.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.