Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
XDocument Property
Collapse the table of content
Expand the table of content

DocActionEvent.XDocument Property

Office 2007
A read-only property that returns a reference to the XDocument object that is associated with the DocActionEvent object during an OnClick event. Read-only

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.XDocument

expression   An expression that returns a DocActionEvent object.

Return Value
XDocument

Remarks

After you have set a reference to the XDocument object that the XDocument property of the DocActionEvent object returns, you can use any of the properties and methods that it provides.

Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Example

In the following example, the XDocument property of the DocActionEvent object is used to set a reference to the XDocument object:

JScript
var objXDoc;

objXDoc = eventObj.XDocument;



Community Additions

ADD
Show:
© 2015 Microsoft