System.Resources.ResXResourceReader Members

The members of System.Resources.ResXResourceReader are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Resources.ResXResourceReader class for the specified stream.

Initializes a new instance of the System.Resources.ResXResourceReader class for the specified System.IO.TextReader.

Initializes a new instance of the System.Resources.ResXResourceReader class for the specified resource file.

Initializes a new instance of the System.Resources.ResXResourceReader class using an input stream and a type resolution service.

Initializes a new instance of the System.Resources.ResXResourceReader class using a stream and an array of assembly names.

Initializes a new instance of the System.Resources.ResXResourceReader class using a text stream reader and a type resolution service.

Initializes a new instance of the System.Resources.ResXResourceReader class using a System.IO.TextReader object and an array of assembly names.

Initializes a new instance of the System.Resources.ResXResourceReader class using a file name and a type resolution service.

Initializes a new instance of the System.Resources.ResXResourceReader class using an XML resource file name and an array of assembly names.

Public Properties

BasePathstring.

Gets or sets the base path for the relative file path specified in a System.Resources.ResXFileRef object.

UseResXDataNodesbool.

Gets or sets a value that indicates whether System.Resources.ResXDataNode objects are returned when reading the current XML resource file or stream.

Public Methods

Close()

Releases all resources used by the System.Resources.ResXResourceReader.

Finalize()

This member overrides the object.Finalize method.

static
FromFileContents(string) : ResXResourceReader

Creates a new System.Resources.ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file.

static
FromFileContents(string, System.ComponentModel.Design.ITypeResolutionService) : ResXResourceReader

Creates a new System.Resources.ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file, and to use an System.ComponentModel.Design.ITypeResolutionService object to resolve type names specified in a resource.

static
FromFileContents(string, System.Reflection.AssemblyName[]) : ResXResourceReader

Creates a new System.Resources.ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file, and to use an array of System.Reflection.AssemblyName objects to resolve type names specified in a resource.

GetEnumerator() : IDictionaryEnumerator

Returns an enumerator for the current System.Resources.ResXResourceReader object.

GetMetadataEnumerator() : IDictionaryEnumerator

Provides a dictionary enumerator that can retrieve the design-time properties from the current XML resource file or stream.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.Resources.ResXResourceReader and optionally releases the managed resources.

Explicitly Implemented Interface Members

IDisposable.Dispose

Releases the unmanaged resources used by the System.Resources.ResXResourceReader and optionally releases the managed resources. For a description of this member, see the IDisposable.Dispose method.

IEnumerable.GetEnumerator

Returns an enumerator for the current System.Resources.ResXResourceReader object. For a description of this member, see the IEnumerable.GetEnumerator method.