Context. Get For View Independent Use Method
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.
public: static ResourceContext ^ GetForViewIndependentUse();
static ResourceContext GetForViewIndependentUse();
public static ResourceContext GetForViewIndependentUse();
Public Shared Function GetForViewIndependentUse () As ResourceContext
A default ResourceContext not associated with any view.
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.