ResourceContext.GetForViewIndependentUse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a default ResourceContext not associated with any view.
public:
static ResourceContext ^ GetForViewIndependentUse();
static ResourceContext GetForViewIndependentUse();
public static ResourceContext GetForViewIndependentUse();
function getForViewIndependentUse()
Public Shared Function GetForViewIndependentUse () As ResourceContext
Returns
A default ResourceContext not associated with any view.
Remarks
By default, no scale qualifier value is set in the ResourceContext returned by this method. Unless and until a scale qualifier value is set programmatically, the returned ResourceContext does not support any operations that involve the scale qualifier, including reading the scale qualifier value or resolving resource candidates that are qualified for scale.
This method fails if it is called in a windowless thread.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla