共用方式為


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

適用於