SiteMapNodeItemEventArgs 类

定义

提供有关 ItemCreatedItemDataBound 事件的数据。Provides data for the ItemCreated and ItemDataBound events.

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

注解

SiteMapPath 控件创建 SiteMapNodeItem 时,将引发 SiteMapPath.ItemCreated 事件。The SiteMapPath.ItemCreated event is raised when a SiteMapNodeItem is created by the SiteMapPath control. 调用 SiteMapPath.CreateControlHierarchy期间对项调用 DataBind 时,将引发 SiteMapPath.ItemDataBound 事件。The SiteMapPath.ItemDataBound event is raised when DataBind is called on the item during a call to SiteMapPath.CreateControlHierarchy.

有关如何处理事件的详细信息,请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

构造函数

SiteMapNodeItemEventArgs(SiteMapNodeItem)

初始化 SiteMapNodeItemEventArgs 类的新实例,将指定的 SiteMapNodeItem 对象设置为事件源。Initializes a new instance of the SiteMapNodeItemEventArgs class, setting the specified SiteMapNodeItem object as the source of the event.

属性

Item

获取作为事件源的节点项。Gets the node item that is the source of 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()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅