ResourceManager.DefaultContext Property

Definition

Gets the default ResourceContext for the currently running application. Unless explicitly overridden, the default ResourceContext is used to determine the most appropriate representation of any given named resource.

Note

DefaultContext may be altered or unavailable for releases after Windows 8.1. Instead, use ResourceContext.GetForCurrentView.

public:
 property ResourceContext ^ DefaultContext { ResourceContext ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("DefaultContext may be altered or unavailable for releases after Windows Phone 'OSVersion' (TBD). Instead, use ResourceContext.GetForCurrentView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
ResourceContext DefaultContext();
/// [get: Windows.Foundation.Metadata.Deprecated("DefaultContext may be altered or unavailable for releases after Windows Phone 'OSVersion' (TBD). Instead, use ResourceContext.GetForCurrentView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
ResourceContext DefaultContext();
ResourceContext DefaultContext();
[get: Windows.Foundation.Metadata.Deprecated("DefaultContext may be altered or unavailable for releases after Windows Phone 'OSVersion' (TBD). Instead, use ResourceContext.GetForCurrentView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public ResourceContext DefaultContext { get; }
[get: Windows.Foundation.Metadata.Deprecated("DefaultContext may be altered or unavailable for releases after Windows Phone 'OSVersion' (TBD). Instead, use ResourceContext.GetForCurrentView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public ResourceContext DefaultContext { get; }
public ResourceContext DefaultContext { get; }
var resourceContext = resourceManager.defaultContext;
Public ReadOnly Property DefaultContext As ResourceContext

Property Value

ResourceContext

The resource context.

Attributes

Applies to

See also