IResourceReader Interface

July 28, 2014

Provides the base functionality to read data from resource files.

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

public interface IResourceReader : IEnumerable, 
	IDisposable

The IResourceReader type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

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

Show:
© 2014 Microsoft