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.ItemCreated 时,SiteMapNodeItem将引发事件。 SiteMapPathThe SiteMapPath.ItemCreated event is raised when a SiteMapNodeItem is created by the SiteMapPath control. 调用时在DataBind SiteMapPath.ItemDataBound 项上调用时,SiteMapPath.CreateControlHierarchy将引发事件。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()

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

(继承自 Object)

适用于

另请参阅