XPathMessageContextMarkupExtension 類別

定義

提供 XPathMessageContext 的延伸,以便將 XPath 訊息佇列序列化至 XAML 時,可包含命名空間。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
繼承
XPathMessageContextMarkupExtension
屬性

備註

此類別是用來配合 XPathMessageContextTypeConverter,將 XPathMessageContext 轉換為 XPathMessageContextMarkupExtension 型別。This class is used in conjunction with the XPathMessageContextTypeConverter to convert an XPathMessageContext into the XPathMessageContextMarkupExtension type. 該類別會從 XML 檔,將 XPath 查詢內容資訊轉換成可以序列化為 XAML 的格式。That class converts the XPath query context information from an XML file into a format that can be serialized as XAML.

建構函式

XPathMessageContextMarkupExtension()

初始化 XPathMessageContextMarkupExtension 類別的新執行個體。Initializes a new instance of the XPathMessageContextMarkupExtension class.

XPathMessageContextMarkupExtension(XPathMessageContext)

使用要轉換的 XPathMessageContextMarkupExtension,初始化 XPathMessageContext 類別的新執行個體。Initializes a new instance of the XPathMessageContextMarkupExtension class with the XPathMessageContext to convert.

屬性

Namespaces

取得包含在此執行個體中的命名空間。Gets the namespaces contained in this instance.

方法

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)
ProvideValue(IServiceProvider)

提供 XPath 訊息查詢中使用的命名空間。Provides the namespaces used in the XPath message query.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱