ContentType Constructor(String,String)
In This Topic
Constructor for initialising content description
Syntax
'Declaration
Public Function New( _
ByVal MainType As System.String, _
ByVal As System.String _
)
public ContentType(
System.string MainType,
System.string
)
Parameters
- MainType
- MIME type for the media
- SubType
- Actual MIME type if it is a multipart media
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also