Delen via


ResourceStringResolver Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Resolves strings by retrieving them from assembly resources, falling back to a specified value.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Utility
Assembly: Microsoft.Practices.EnterpriseLibrary.Common.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Common.Silverlight.dll) Version: 5.0.505.0

Syntax

public sealed class ResourceStringResolver : IStringResolver
'Declaration
Public NotInheritable Class ResourceStringResolver _
    Implements IStringResolver
public ref class ResourceStringResolver sealed : IStringResolver

Remarks

If both the resource type and the resource name are available, a resource lookup will be performed; otherwise, the default value will be returned.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Utility.ResourceStringResolver

See Also

ResourceStringResolver Members

Microsoft.Practices.EnterpriseLibrary.Common.Utility Namespace