MsHtmlEventSink.Create Method (IHTMLElement2, String)
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
)
<CLSCompliantAttribute(False)>
Public Shared Function Create (
htmlElement As IHTMLElement2,
eventName As String
) As MsHtmlEventSink
Parameters
htmlElement
Type: mshtml.IHTMLElement2Specifies the event source.
eventName
Type: System.StringSpecifies the event name.
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