ResourceDictionaryDiagnostics.GetResourceDictionariesForSource(Uri) Metod

Definition

Hittar de resursordlistor som skapats från en viss käll-URI.

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

Parametrar

uri
Uri

Käll-URI:n.

Returer

Resursordlistor som skapats från uri. Metoden returnerar null om visuell diagnostik inte är aktiverad, ENABLE_XAML_DIAGNOSTICS_SOURCE_INFO miljövariabeln inte har angetts eller är inställd på false, eller så skapades inga resursordlistor från uri.

Gäller för