次の方法で共有


IXRDelegate<ArgType>::Invoke (Windows Embedded CE 6.0)

1/6/2010

This method causes this delegate object to call the event handler that is represented by this delegate object.

This method is called by Silverlight when an object raises an event.

Syntax

virtual HRESULT STDMETHODCALLTYPE Invoke(
    IXRDependencyObject* pSender,
    ArgType* EventArg
) = 0;

Parameters

  • EventArg
    [in] Structure derived from XREventArgs that contains data for the event that was raised by the object in pSender.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If you use the CreateDelegate helper function to create a delegate, the IXRDelegate::Invoke method will call your event handler when the event is raised.

.NET Framework Equivalent

None.

Requirements

Header XRDelegate.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRDelegate<ArgType>