MonobjcMonobjc Documented Class Library
RegisterViewClassRepresentationClassForMIMEType Method (viewClass, representationClass, MIMEType)
NamespacesMonobjc.WebKitWebViewRegisterViewClassRepresentationClassForMIMEType(Class, Class, NSString)

Specifies the view and representation objects to be used for specific MIME types.

Original signature is '+ (void)registerViewClass:(Class)viewClass representationClass:(Class)representationClass forMIMEType:(NSString *)MIMEType'

Available in Mac OS X v10.2 with Safari 1.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void RegisterViewClassRepresentationClassForMIMEType(
	Class viewClass,
	Class representationClass,
	NSString MIMEType
)
Public Shared Sub RegisterViewClassRepresentationClassForMIMEType ( _
	viewClass As Class, _
	representationClass As Class, _
	MIMEType As NSString _
)
public:
static void RegisterViewClassRepresentationClassForMIMEType(
	Class^ viewClass, 
	Class^ representationClass, 
	NSString^ MIMEType
)
Parameters
viewClass (Class)
A class conforming to the WebDocumentView protocol that displays the specified MIME types.
representationClass (Class)
The class conforming to WebDocumentRepresentation protocol that represents the specified MIME types.
MIMEType (NSString)
The MIME type of the content.
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)