IResourceReader Interface

IResourceReader Interface

 

Provides the base functionality for reading data from resource files.

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

[<ComVisibleAttribute(true)>]
type IResourceReader = 
    interface
        interface IEnumerable
        interface IDisposable
    end

NameDescription
System_CAPS_pubmethodClose()

Closes the resource reader after releasing any resources associated with it.

System_CAPS_pubmethodDispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable.)

System_CAPS_pubmethodGetEnumerator()

Returns a dictionary enumerator of the resources for this reader.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<'TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<'TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

Resource readers are used to read a stream of data from resource files in a particular format. Implement this interface when you want to control the way in which a resource file is read (for example, if the resource file was written by using a customized ResourceWriter) or if you are using a non-standard format or file type for storing resources. Otherwise, use the default ResourceReader class, which reads resource information from binary .resources files, or the ResXResourceReader class, which reads resource information from XML resource (.resx) files.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft