System.Resources
10 wrapped types. Load them with using { "System.Resources" }. Click a class to open it.
IResourceReader interface
System.Resources.IResourceReader · assembly System.Private.CoreLib
Implements: IEnumerable, IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
GetEnumerator | callMethod("GetEnumerator",[]) | IDictionaryEnumerator GetEnumerator() |
IResourceWriter interface
System.Resources.IResourceWriter · assembly System.Resources.Writer
Implements: IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddResource | callMethod("AddResource",[p1,p2]) | void AddResource(string name, string value)void AddResource(string name, object value)void AddResource(string name, byte[] value) |
Close | callMethod("Close",[]) | void Close() |
Generate | callMethod("Generate",[]) | void Generate() |
MissingManifestResourceException class · extends SystemException
System.Resources.MissingManifestResourceException · assembly System.Private.CoreLib
Implements: ISerializable
Constructors
new MissingManifestResourceException() |
new MissingManifestResourceException(string message) |
new MissingManifestResourceException(string message, Exception inner) |
Ring: new MissingManifestResourceException(args) uses one constructor; the others are chosen by the parameter names: new MissingManifestResourceException().@New([ :param = value ]) or dnNew("MissingManifestResourceException",[ :param = value ]).
Members of the base class are inherited.
MissingSatelliteAssemblyException class · extends SystemException
System.Resources.MissingSatelliteAssemblyException · assembly System.Private.CoreLib
Implements: ISerializable
Constructors
new MissingSatelliteAssemblyException() |
new MissingSatelliteAssemblyException(string message) |
new MissingSatelliteAssemblyException(string message, string cultureName) |
new MissingSatelliteAssemblyException(string message, Exception inner) |
Ring: new MissingSatelliteAssemblyException(args) uses one constructor; the others are chosen by the parameter names: new MissingSatelliteAssemblyException().@New([ :param = value ]) or dnNew("MissingSatelliteAssemblyException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CultureName | string | read | o.CultureName |
Members of the base class are inherited.
NeutralResourcesLanguageAttribute class sealed · extends Attribute
System.Resources.NeutralResourcesLanguageAttribute · assembly System.Private.CoreLib
Constructors
new NeutralResourcesLanguageAttribute(string cultureName) |
new NeutralResourcesLanguageAttribute(string cultureName, UltimateResourceFallbackLocation location) |
Ring: new NeutralResourcesLanguageAttribute(args) uses one constructor; the others are chosen by the parameter names: new NeutralResourcesLanguageAttribute().@New([ :param = value ]) or dnNew("NeutralResourcesLanguageAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CultureName | string | read | o.CultureName |
Location | UltimateResourceFallbackLocation | read | o.Location |
Members of the base class are inherited.
ResourceManager class
System.Resources.ResourceManager · assembly System.Private.CoreLib
Constructors
new ResourceManager(string baseName, Assembly assembly) |
new ResourceManager(string baseName, Assembly assembly, Type usingResourceSet) |
new ResourceManager(Type resourceSource) |
Ring: new ResourceManager(args) uses one constructor; the others are chosen by the parameter names: new ResourceManager().@New([ :param = value ]) or dnNew("ResourceManager",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BaseName | string | read | o.BaseName |
IgnoreCase | bool | read, write | o.IgnoreCase o.IgnoreCase = v |
ResourceSetType | Type | read | o.ResourceSetType |
MagicNumber | int | read · static | o.MagicNumber |
HeaderVersionNumber | int | read · static | o.HeaderVersionNumber |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFileBasedResourceManager | CreateFileBasedResourceManager(p1,p2,p3) | static ResourceManager CreateFileBasedResourceManager(string baseName, string resourceDir, Type usingResourceSet) |
GetObject | GetObject(value)GetObject([ :name = … ])GetObject([ :name = …, :culture = … ]) | object GetObject(string name)object GetObject(string name, CultureInfo culture) |
GetResourceSet | callMethod("GetResourceSet",[p1,p2,p3]) | ResourceSet GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents) |
GetStream | GetStream(value)GetStream([ :name = … ])GetStream([ :name = …, :culture = … ]) | UnmanagedMemoryStream GetStream(string name)UnmanagedMemoryStream GetStream(string name, CultureInfo culture) |
GetString | callMethod("GetString",[p1])callMethod("GetString",[p1,p2]) | string GetString(string name)string GetString(string name, CultureInfo culture) |
ReleaseAllResources | callMethod("ReleaseAllResources",[]) | void ReleaseAllResources() |
ResourceReader class sealed
System.Resources.ResourceReader · assembly System.Private.CoreLib
Implements: IResourceReader, IEnumerable, IDisposable
Constructors
new ResourceReader(string fileName) |
new ResourceReader(Stream stream) |
Ring: new ResourceReader(args) uses one constructor; the others are chosen by the parameter names: new ResourceReader().@New([ :param = value ]) or dnNew("ResourceReader",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetEnumerator | callMethod("GetEnumerator",[]) | IDictionaryEnumerator GetEnumerator() |
GetResourceData | GetResourceData(p1) | void GetResourceData(string resourceName, out string resourceType, out byte[] resourceData) |
ResourceSet class
System.Resources.ResourceSet · assembly System.Private.CoreLib
Implements: IDisposable, IEnumerable
Constructors
new ResourceSet(string fileName) |
new ResourceSet(Stream stream) |
new ResourceSet(IResourceReader reader) |
Ring: new ResourceSet(args) uses one constructor; the others are chosen by the parameter names: new ResourceSet().@New([ :param = value ]) or dnNew("ResourceSet",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
GetDefaultReader | callMethod("GetDefaultReader",[]) | Type GetDefaultReader() |
GetDefaultWriter | callMethod("GetDefaultWriter",[]) | Type GetDefaultWriter() |
GetEnumerator | callMethod("GetEnumerator",[]) | IDictionaryEnumerator GetEnumerator() |
GetObject | GetObject(value)GetObject([ :name = … ])GetObject([ :name = …, :ignoreCase = … ]) | object GetObject(string name)object GetObject(string name, bool ignoreCase) |
GetString | callMethod("GetString",[p1])callMethod("GetString",[p1,p2]) | string GetString(string name)string GetString(string name, bool ignoreCase) |
ResourceWriter class sealed
System.Resources.ResourceWriter · assembly System.Resources.Writer
Implements: IResourceWriter, IDisposable
Constructors
new ResourceWriter(string fileName) |
new ResourceWriter(Stream stream) |
Ring: new ResourceWriter(args) uses one constructor; the others are chosen by the parameter names: new ResourceWriter().@New([ :param = value ]) or dnNew("ResourceWriter",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TypeNameConverter | Func<Type, string> | read, write | o.TypeNameConverter o.TypeNameConverter = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddResource | AddResource([ :name = …, :value = … ])AddResource([ :name = …, :value = …, :closeAfterWrite = … ]) | void AddResource(string name, Stream value)void AddResource(string name, string value)void AddResource(string name, object value)void AddResource(string name, Stream value, bool closeAfterWrite = …)void AddResource(string name, byte[] value) |
AddResourceData | AddResourceData(p1,p2,p3) | void AddResourceData(string name, string typeName, byte[] serializedData) |
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Generate | callMethod("Generate",[]) | void Generate() |
SatelliteContractVersionAttribute class sealed · extends Attribute
System.Resources.SatelliteContractVersionAttribute · assembly System.Private.CoreLib
Constructors
new SatelliteContractVersionAttribute(string version) |
Ring: new SatelliteContractVersionAttribute(args) uses one constructor; the others are chosen by the parameter names: new SatelliteContractVersionAttribute().@New([ :param = value ]) or dnNew("SatelliteContractVersionAttribute",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Version | string | read | o.Version |
Members of the base class are inherited.