ResourceDictionaryDiagnostics.GetFrameworkContentElementOwners 方法

定義

取得指定資源字典的框架內容擁有者。

public:
 static System::Collections::Generic::IEnumerable<System::Windows::FrameworkContentElement ^> ^ GetFrameworkContentElementOwners(System::Windows::ResourceDictionary ^ dictionary);
public static System.Collections.Generic.IEnumerable<System.Windows.FrameworkContentElement> GetFrameworkContentElementOwners(System.Windows.ResourceDictionary dictionary);
static member GetFrameworkContentElementOwners : System.Windows.ResourceDictionary -> seq<System.Windows.FrameworkContentElement>
Public Shared Function GetFrameworkContentElementOwners (dictionary As ResourceDictionary) As IEnumerable(Of FrameworkContentElement)

參數

dictionary
ResourceDictionary

資源字典。

傳回

框架內容擁有者 dictionary。 若無框架內容擁有者,則該方法返回 null

適用於