IResourceReader Interface

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 : IEnumerable, 

The IResourceReader type exposes the following members.

Public methodCloseCloses the resource reader after releasing any resources associated with it.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodGetEnumerator()Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodGetEnumerator()Returns an IDictionaryEnumerator of the resources for this reader.

Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft