Share via


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();
public ResourceContext DefaultContext { [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))] get; }
public ResourceContext DefaultContext { [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")] get; }
public ResourceContext DefaultContext { get; }
var resourceContext = resourceManager.defaultContext;
Public ReadOnly Property DefaultContext As ResourceContext

Property Value

The resource context.

Attributes

Applies to

See also