ResourceDictionaryDiagnostics.GetApplicationOwners(ResourceDictionary) 方法

定义

获取指定资源字典的应用程序所有者。

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

参数

dictionary
ResourceDictionary

资源字典。

返回

dictionary 的应用程序所有者。 如果没有应用程序所有者,此方法将返回 null

适用于