TemplateKey 類別

定義

當做為資料樣板的資源索引鍵使用時,允許資料樣板參與查詢處理序。

public ref class TemplateKey abstract : System::Windows::ResourceKey, System::ComponentModel::ISupportInitialize
[System.ComponentModel.TypeConverter(typeof(System.Windows.Markup.TemplateKeyConverter))]
public abstract class TemplateKey : System.Windows.ResourceKey, System.ComponentModel.ISupportInitialize
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Markup.TemplateKeyConverter))>]
type TemplateKey = class
    inherit ResourceKey
    interface ISupportInitialize
Public MustInherit Class TemplateKey
Inherits ResourceKey
Implements ISupportInitialize
繼承
衍生
屬性
實作

建構函式

TemplateKey(TemplateKey+TemplateType)

使用指定的樣板型別,初始化 TemplateKey 類別的新執行個體。 這個建構函式受到保護。

TemplateKey(TemplateKey+TemplateType, Object)

使用指定的參數,初始化 TemplateKey 類別的新執行個體。 這個建構函式受到保護。

屬性

Assembly

取得或設定包含樣板定義的組件 (Assembly)。

DataType

取得或設定為其設計樣板的型別。

方法

Equals(Object)

傳回值,指出特定的執行個體是否與 TemplateKey 的這個執行個體相同。

GetHashCode()

傳回這個 TemplateKey 執行個體的雜湊碼。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ProvideValue(IServiceProvider)

傳回這個 ResourceKey。 這個類別的執行個體通常會當做字典中的索引鍵來使用。

(繼承來源 ResourceKey)
ToString()

傳回這個 TemplateKey 的字串表示。

明確介面實作

ISupportInitialize.BeginInit()

此成員支援Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從您的程式碼使用。

ISupportInitialize.EndInit()

此成員支援Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從您的程式碼使用。

適用於

另請參閱