WebBaseEvent.EventSource 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得引發事件的物件。
public:
property System::Object ^ EventSource { System::Object ^ get(); };
public object EventSource { get; }
member this.EventSource : obj
Public ReadOnly Property EventSource As Object
屬性值
引發事件的物件。
範例
下列程式碼範例示範如何取得 EventSource 值。
// 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