_ApplicationEvents_NewXDocumentEventHandler 委托

定义

表示将处理事件 NewXDocument 的方法。

public delegate void _ApplicationEvents_NewXDocumentEventHandler(_XDocument ^ pDocument);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void _ApplicationEvents_NewXDocumentEventHandler(_XDocument pDocument);
type _ApplicationEvents_NewXDocumentEventHandler = delegate of _XDocument -> unit
Public Delegate Sub _ApplicationEvents_NewXDocumentEventHandler(pDocument As _XDocument)

参数

pDocument
_XDocument

表示 XDocument 已打开的窗体的基础 XML 文档的 对象。

属性

注解

创建 _ApplicationEvents_NewXDocumentEventHandler 委托时,可以标识将处理事件的方法。 若要将事件与事件处理程序相关联,请将委托的实例添加到事件。 每当事件发生时,将调用事件处理程序,除非删除委托。 有关详细信息,请参阅事件和委托。

适用于