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返回。

适用于