MimeTypeAttribute Constructor
Initializes a new instance of the MimeTypeAttribute class.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Sub New ( _
memberName As String, _
mimeType As String _
)
'Usage
Dim memberName As String
Dim mimeType As String
Dim instance As New MimeTypeAttribute(memberName, _
mimeType)
public MimeTypeAttribute(
string memberName,
string mimeType
)
public:
MimeTypeAttribute(
String^ memberName,
String^ mimeType
)
new :
memberName:string *
mimeType:string -> MimeTypeAttribute
public function MimeTypeAttribute(
memberName : String,
mimeType : String
)
Parameters
- memberName
Type: System.String
The name of the attribute.
- mimeType
Type: System.String
The MIME type of the attribute.