API Reference
Class
MhtmlResource
Immutable decoded resource embedded in an MHTML web archive.
Inheritance
- Object
- MhtmlResource
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MhtmlDocument.Resources
Accepted by parameters
- Constructor MhtmlDocument.MhtmlDocument
Constructors
public MhtmlResource(Byte[] content, String contentType = null, String contentId = null, String contentLocation = null, String fileName = null) #Creates an embedded MHTML resource snapshot.
Parameters
- content System.Byte[]
- contentType System.String = null
- contentId System.String = null
- contentLocation System.String = null
- fileName System.String = null
Methods
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String ContentType { get; } #Declared MIME content type.
public String ContentId { get; } #Content-ID without angle brackets.
public String ContentLocation { get; } #Content location as declared by the archive.
public String FileName { get; } #Optional resource filename.
public Byte[] Content { get; } #Returns an independent copy of the decoded content.