WebPartEventArgs 类

定义

public ref class WebPartEventArgs : EventArgs
public class WebPartEventArgs : EventArgs
type WebPartEventArgs = class
    inherit EventArgs
Public Class WebPartEventArgs
Inherits EventArgs
继承
WebPartEventArgs

注解

WebPartEventArgs类包含若干不同 Web 部件事件的信息。The WebPartEventArgs class contains information for several different Web Parts events. 这些WebPartAdded事件包括、 WebPartClosedWebPartDeletedWebPartMovedSelectedWebPartChanged事件。These events include the WebPartAdded, WebPartDeleted, WebPartClosed, WebPartMoved, and SelectedWebPartChanged events. WebPartEventArgs类提供对事件中涉及的 Web 部件控件的访问。The WebPartEventArgs class provides access to the Web Parts control involved in the event. Web 部件控件可通过WebPart属性进行访问。The Web Parts control is accessed through the WebPart property.

构造函数

WebPartEventArgs(WebPart)

初始化 WebPartEventArgs 类的新实例。Initializes a new instance of the WebPartEventArgs class.

属性

WebPart

获取事件涉及的 Web 部件控件。Gets the Web Parts control involved in the event.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于