Sets the main page contents, MIME type, content encoding, and base URL.
Original signature is '- (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)URL'
Available in Mac OS X v10.2 with Safari 1.0 and later.
Declaration Syntax
Public Overridable Sub LoadDataMIMETypeTextEncodingNameBaseURL ( _
data As NSData, _
MIMEType As NSString, _
encodingName As NSString, _
URL As NSURL _
)
Parameters
- data (NSData)
- The data to use for the main page of the document.
- MIMEType (NSString)
- The MIME type of the data.
- encodingName (NSString)
- The IANA encoding name (for example, “utf-8” or “utf-16”).
- URL (NSURL)
- A file that is used to resolve relative URLs within the document.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.WebKit (Module: Monobjc.WebKit)