Sdílet prostřednictvím


MsHtmlEventSink.Create Method (IHTMLElement2, String, String, RaiseEventHandler)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Creates and attaches an event sink to the provided htmlElement for the named eventName event.

This API is not CLS-compliant.

Namespace:   Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly:  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Syntax

[CLSCompliantAttribute(false)]
public static MsHtmlEventSink Create(
    IHTMLElement2 htmlElement,
    string eventName,
    string controlName,
    RaiseEventHandler raiseEventHandler
)
<CLSCompliantAttribute(False)>
Public Shared Function Create (
    htmlElement As IHTMLElement2,
    eventName As String,
    controlName As String,
    raiseEventHandler As RaiseEventHandler
) As MsHtmlEventSink

Parameters

  • controlName
    Type: System.String

    Specifies the DDA control name associated with the event.

Return Value

Type: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.MsHtmlEventSink

Event sink instance, already attached to the htmlElement.

See Also

Create Overload
MsHtmlEventSink Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright