Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
path
Type: System.StringThe path of the file to attach.
comment
Type: System.StringA 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.