ResXResourceReaderBasePath Property

Gets or sets the base path for the relative file path specified in a ResXFileRef object.
Default value: .

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public string? BasePath { get; set; }

Return Value

String
A path that, if prepended to the relative file path specified in a ResXFileRef object, yields an absolute path to a resource file.

Remarks

Unlike in case of System.Resources.ResXResourceReader class, in this ResXResourceReader implementation this property can be set even after calling the GetEnumerator, GetMetadataEnumerator or GetAliasEnumerator methods.

Exceptions

ObjectDisposedExceptionThe Close or IDisposable.Dispose method has already been called on this ResXResourceReader instance.

See Also