System.Resources.IResourceReader Interface

Assembly: Mscorlib.dll
Namespace: System.Resources
Summary
Provides the base functionality to read data from resource files.
C# Syntax:
public interface IResourceReader : IEnumerable, IDisposable
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 (for example, if the resouce file was written using a customized ResourceWriter). Otherwise, use the default ResourceReader or ResXResourceReader. See the the conceptual topic at MSDN: designingglobalapplications for details on the default resource file format.
See also:
System.Resources Namespace | IEnumerable | MSDN: designingglobalapplications

System.Resources.IResourceReader Member List:

Public Methods
Close Closes the resource reader after releasing any resources associated with it.
GetEnumerator Returns an IDictionaryEnumerator of the resources for this reader.

Hierarchy:


System.Resources.IResourceReader Member Details

Method: Close()
Summary
Closes the resource reader after releasing any resources associated with it.
C# Syntax:
void Close();
Remarks
Use this function to close a network connection or a file, if necessary.

Return to top


Method: GetEnumerator()
Summary
Returns an IDictionaryEnumerator of the resources for this reader.
C# Syntax:
IDictionaryEnumerator GetEnumerator();
Return Value:
A dictionary enumerator for the resources for this reader.
See also:
IDictionary | IDictionaryEnumerator

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.