ResourceReader Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the resources in a binary resources (.resources) file by reading sequential resource name/value pairs.
public ref class ResourceReader sealed : System::Resources::IResourceReaderpublic ref class ResourceReader sealed : IDisposablepublic ref class ResourceReader sealed : IDisposable, System::Collections::IEnumerable, System::Resources::IResourceReaderpublic sealed class ResourceReader : System.Resources.IResourceReaderpublic sealed class ResourceReader : IDisposablepublic sealed class ResourceReader : IDisposable, System.Collections.IEnumerable, System.Resources.IResourceReader[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ResourceReader : System.Resources.IResourceReadertype ResourceReader = class
    interface IEnumerable
    interface IDisposable
    interface IResourceReadertype ResourceReader = class
    interface IDisposabletype ResourceReader = class
    interface IResourceReader
    interface IEnumerable
    interface IDisposable[<System.Runtime.InteropServices.ComVisible(true)>]
type ResourceReader = class
    interface IResourceReader
    interface IEnumerable
    interface IDisposablePublic NotInheritable Class ResourceReader
Implements IResourceReaderPublic NotInheritable Class ResourceReader
Implements IDisposablePublic NotInheritable Class ResourceReader
Implements IDisposable, IEnumerable, IResourceReader- Inheritance
- 
				ResourceReader
- Attributes
- Implements
Remarks
For more information about this API, see Supplemental API remarks for ResourceReader.
Constructors
| ResourceReader(Stream) | Initializes a new instance of the ResourceReader class for the specified stream. | 
| ResourceReader(String) | Initializes a new instance of the ResourceReader class for the specified named resource file. | 
Methods
| Close() | Releases all operating system resources associated with this ResourceReader object. | 
| Dispose() | Releases all resources used by the current instance of the ResourceReader class. | 
| Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object) | 
| GetEnumerator() | Returns an enumerator for this ResourceReader object. | 
| GetHashCode() | Serves as the default hash function.(Inherited from Object) | 
| GetResourceData(String, String, Byte[]) | Retrieves the type name and data of a named resource from an open resource file or stream. | 
| GetType() | Gets the Type of the current instance.(Inherited from Object) | 
| MemberwiseClone() | Creates a shallow copy of the current Object.(Inherited from Object) | 
| ToString() | Returns a string that represents the current object.(Inherited from Object) | 
Explicit Interface Implementations
| IDisposable.Dispose() | Releases the resources used by the ResourceReader. | 
| IEnumerable.GetEnumerator() | Returns an enumerator for this ResourceReader object. | 
Extension Methods
| Cast<TResult>(IEnumerable) | Casts the elements of an IEnumerable to the specified type. | 
| OfType<TResult>(IEnumerable) | Filters the elements of an IEnumerable based on a specified type. | 
| AsParallel(IEnumerable) | Enables parallelization of a query. | 
| AsQueryable(IEnumerable) | Converts an IEnumerable to an IQueryable. |