Attachment Constructor (String, String)
Initializes a new instance of the Attachment class using the specified content type and file path.
Namespace: Microsoft.Web.Services2.Attachments
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim type As String
Dim path As String
Dim attachment1 As New Attachment(type, path)
Syntax
'Declaration
Public Sub New( _
ByVal type As String, _
ByVal path As String _
)
public Attachment(
string type,
string path
);
public: Attachment(
String^ type,
String^ path
);
public Attachment(
System.String type,
System.String path
);
public function Attachment(
type : String,
path : String
);
Parameters
- type
The type of payload in the DIME record.
- path
The path of the type.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
Attachment Class
Microsoft.Web.Services2.Attachments Namespace