DimeAttachment Constructor (String, TypeFormat, String)

Initializes a new instance of the DimeAttachment class with the specified payload type and information about the type.

Namespace: Microsoft.Web.Services2.Dime
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim type As String
Dim typeFormat As TypeFormat
Dim path As String
Dim dimeAttachment1 As New DimeAttachment(type, typeFormat, path)

Syntax

'Declaration
Public Sub New( _
    ByVal type As String, _
    ByVal typeFormat As TypeFormat, _
    ByVal path As String _
)
public DimeAttachment(
    string type, 
    TypeFormat typeFormat, 
    string path
);
public: DimeAttachment(
    String^ type, 
    TypeFormat^ typeFormat, 
    String^ path
);
public DimeAttachment(
    System.String type, 
    TypeFormat typeFormat, 
    System.String path
);
public function DimeAttachment(
     type : String, 
     typeFormat : TypeFormat, 
     path : String
);

Parameters

  • type
    The data type of the payload.
  • typeFormat
    One of the TypeFormat values specifying how to find the type.
  • 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

DimeAttachment Class
Microsoft.Web.Services2.Dime Namespace

Other Resources

DimeAttachment Members