Redigera

Dela via


XPathMessageContextMarkupExtension Class

Definition

Provides an extension of the XPathMessageContext to contain namespaces when serializing XPath message queries into XAML.

public ref class XPathMessageContextMarkupExtension : System::Windows::Markup::MarkupExtension
[System.Windows.Markup.ContentProperty("Namespaces")]
public class XPathMessageContextMarkupExtension : System.Windows.Markup.MarkupExtension
[<System.Windows.Markup.ContentProperty("Namespaces")>]
type XPathMessageContextMarkupExtension = class
    inherit MarkupExtension
Public Class XPathMessageContextMarkupExtension
Inherits MarkupExtension
Inheritance
XPathMessageContextMarkupExtension
Attributes

Remarks

This class is used in conjunction with the XPathMessageContextTypeConverter to convert an XPathMessageContext into the XPathMessageContextMarkupExtension type. That class converts the XPath query context information from an XML file into a format that can be serialized as XAML.

Constructors

XPathMessageContextMarkupExtension()

Initializes a new instance of the XPathMessageContextMarkupExtension class.

XPathMessageContextMarkupExtension(XPathMessageContext)

Initializes a new instance of the XPathMessageContextMarkupExtension class with the XPathMessageContext to convert.

Properties

Namespaces

Gets the namespaces contained in this instance.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProvideValue(IServiceProvider)

Provides the namespaces used in the XPath message query.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also