IResourceReader Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides the base functionality to read data from resource files.
Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
Public Interface IResourceReader _
Inherits IEnumerable, IDisposable
[ComVisibleAttribute(true)]
public interface IResourceReader : IEnumerable,
IDisposable
The IResourceReader type exposes the following members.
Methods
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. |
Top
Extension Methods
Name | Description | |
---|---|---|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) | |
Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) | |
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Top
Remarks
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
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also