ResourceDictionaryDiagnostics.GetApplicationOwners(ResourceDictionary) 方法

定義

取得指定資源字典的應用程式擁有者。Gets the application owners of a specified resource dictionary.

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

資源字典。A resource dictionary.

傳回

IEnumerable<Application>

dictionary 的應用程式擁有者。The application owners of dictionary. 如果沒有任何應用程式擁有者,方法會傳回 nullIf there are no application owners, the method returns null.

適用於