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