Επεξεργασία

Κοινή χρήση μέσω


BaseVsaSite.GetEventSourceInstance(String, String) Method

Definition

Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.

public:
 virtual System::Object ^ GetEventSourceInstance(System::String ^ itemName, System::String ^ eventSourceName);
public virtual object GetEventSourceInstance (string itemName, string eventSourceName);
abstract member GetEventSourceInstance : string * string -> obj
override this.GetEventSourceInstance : string * string -> obj
Public Overridable Function GetEventSourceInstance (itemName As String, eventSourceName As String) As Object

Parameters

itemName
String

The item name.

eventSourceName
String

The event source name.

Returns

The event source to the engine.

Implements

Applies to