WebBaseEvent.EventSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the object that raises the event.
public:
property System::Object ^ EventSource { System::Object ^ get(); };
public object EventSource { get; }
member this.EventSource : obj
Public ReadOnly Property EventSource As Object
Property Value
The object that raised the event.
Examples
The following code example shows how to obtain the EventSource value.
// Gets the event source.
public Object GetEventSource()
{
// Get the event source.
Object source = this.EventSource;
return source;
}
' Gets the event source.
Public Function GetEventSource() As [Object]
' Get the event source.
Dim [source] As [Object] = Me.EventSource
Return [source]
End Function 'GetEventSource
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.