Partilhar via


WebBaseEvent.EventSource Propriedade

Definição

Obtém o objeto que gera o evento.

public:
 property System::Object ^ EventSource { System::Object ^ get(); };
public object EventSource { get; }
member this.EventSource : obj
Public ReadOnly Property EventSource As Object

Valor da propriedade

Object

O objeto que gerencie o evento.

Exemplos

O exemplo de código a seguir mostra como obter o EventSource valor.

// 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

Aplica-se a