Attachment Constructor (String)
Initializes a new file attachment instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'宣告
Public Sub New ( _
path As String _
)
public Attachment(
string path
)
public:
Attachment(
String^ path
)
new :
path:string -> Attachment
public function Attachment(
path : String
)
Parameters
- path
Type: System.String
The path of the file to attach.
.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.