IResourceReader Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides the base functionality to read data from resource files.

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)


Public Interface IResourceReader _
    Inherits IEnumerable, IDisposable
public interface IResourceReader : IEnumerable, 

The IResourceReader type exposes the following members.


Name Description
Close Closes the resource reader after releasing any resources associated with it.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
GetEnumerator()()() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
GetEnumerator()()() Returns an IDictionaryEnumerator of the resources for this reader.


Extension Methods

Name Description
AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Cast<(Of <(TResult>)>) Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
OfType<(Of <(TResult>)>) Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)



Resource readers are used to read a stream of resource files in a particular file format. Implement this interface when you need to control the way in which a resource file is read.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


System.Resources Namespace