Share via


IWebDocumentRepresentation Interface

Definition

This interface represents the Objective-C protocol WebDocumentRepresentation.

[Foundation.Protocol(Name="WebDocumentRepresentation", WrapperType=typeof(WebKit.WebDocumentRepresentationWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDataSource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(WebKit.WebDataSource) }, Selector="setDataSource:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReceivedData", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSData), typeof(WebKit.WebDataSource) }, Selector="receivedData:withDataSource:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReceivedError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSError), typeof(WebKit.WebDataSource) }, Selector="receivedError:withDataSource:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishedLoading", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(WebKit.WebDataSource) }, Selector="finishedLoadingWithDataSource:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canProvideDocumentSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanProvideDocumentSource", PropertyType=typeof(System.Boolean), Selector="canProvideDocumentSource")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="documentSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentSource", PropertyType=typeof(System.String), Selector="documentSource")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="title", IsProperty=true, IsRequired=true, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")]
public interface IWebDocumentRepresentation : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="WebDocumentRepresentation", WrapperType=typeof(WebKit.WebDocumentRepresentationWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDataSource", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(WebKit.WebDataSource) }, Selector="setDataSource:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReceivedData", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSData), typeof(WebKit.WebDataSource) }, Selector="receivedData:withDataSource:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ReceivedError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSError), typeof(WebKit.WebDataSource) }, Selector="receivedError:withDataSource:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishedLoading", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(WebKit.WebDataSource) }, Selector="finishedLoadingWithDataSource:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canProvideDocumentSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanProvideDocumentSource", PropertyType=typeof(System.Boolean), Selector="canProvideDocumentSource")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="documentSource", IsProperty=true, IsRequired=true, IsStatic=false, Name="DocumentSource", PropertyType=typeof(System.String), Selector="documentSource")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="title", IsProperty=true, IsRequired=true, IsStatic=false, Name="Title", PropertyType=typeof(System.String), Selector="title")>]
type IWebDocumentRepresentation = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
CanProvideDocumentSource
DocumentSource
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Title

Methods

Name Description
FinishedLoading(WebDataSource)
ReceivedData(NSData, WebDataSource)
ReceivedError(NSError, WebDataSource)
SetDataSource(WebDataSource)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to