次の方法で共有


ContextChangedEventArgs.Context Property

Gets a reference to an XPathNavigator object positioned at the context node that raised the ContextChanged event.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Context As XPathNavigator
    Get
'Usage
Dim instance As ContextChangedEventArgs
Dim value As XPathNavigator

value = instance.Context
public abstract XPathNavigator Context { get; }

Property Value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator object positioned at the context node that raised the ContextChanged event.

Remarks

This member 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.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See Also

Reference

ContextChangedEventArgs Class

ContextChangedEventArgs Members

Microsoft.Office.InfoPath Namespace