FrameworkTemplate.LoadContent 方法

定義

載入當做物件執行個體的樣板內容,並傳回該內容的根項目。

public:
 System::Windows::DependencyObject ^ LoadContent();
public System.Windows.DependencyObject LoadContent ();
member this.LoadContent : unit -> System.Windows.DependencyObject
Public Function LoadContent () As DependencyObject

傳回

DependencyObject

內容的根項目。 呼叫這個項目多次會傳回個別的執行個體。

適用於