1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Resources.ResourceManager</name>
6 <member name="T:System.Resources.IResourceReader">
7 <summary>Provides the base functionality for reading data from resource files.</summary>
9 <member name="M:System.Resources.IResourceReader.Close">
10 <summary>Closes the resource reader after releasing any resources associated with it.</summary>
12 <member name="M:System.Resources.IResourceReader.GetEnumerator">
13 <summary>Returns a dictionary enumerator of the resources for this reader.</summary>
14 <returns>A dictionary enumerator for the resources for this reader.</returns>
16 <member name="T:System.Resources.MissingManifestResourceException">
17 <summary>The exception that is thrown if the main assembly does not contain the resources for the neutral culture, and an appropriate satellite assembly is missing.</summary>
19 <member name="M:System.Resources.MissingManifestResourceException.#ctor">
20 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException"></see> class with default properties.</summary>
22 <member name="M:System.Resources.MissingManifestResourceException.#ctor(System.String)">
23 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException"></see> class with the specified error message.</summary>
24 <param name="message">The error message that explains the reason for the exception.</param>
26 <member name="M:System.Resources.MissingManifestResourceException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
27 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException"></see> class from serialized data.</summary>
28 <param name="info">The object that holds the serialized object data.</param>
29 <param name="context">The contextual information about the source or destination of the exception.</param>
31 <member name="M:System.Resources.MissingManifestResourceException.#ctor(System.String,System.Exception)">
32 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingManifestResourceException"></see> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
33 <param name="message">The error message that explains the reason for the exception.</param>
34 <param name="inner">The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception.</param>
36 <member name="T:System.Resources.MissingSatelliteAssemblyException">
37 <summary>The exception that is thrown when the satellite assembly for the resources of the default culture is missing.</summary>
39 <member name="M:System.Resources.MissingSatelliteAssemblyException.#ctor">
40 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException"></see> class with default properties.</summary>
42 <member name="M:System.Resources.MissingSatelliteAssemblyException.#ctor(System.String)">
43 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException"></see> class with the specified error message.</summary>
44 <param name="message">The error message that explains the reason for the exception.</param>
46 <member name="M:System.Resources.MissingSatelliteAssemblyException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
47 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException"></see> class from serialized data.</summary>
48 <param name="info">The object that holds the serialized object data.</param>
49 <param name="context">The contextual information about the source or destination of the exception.</param>
51 <member name="M:System.Resources.MissingSatelliteAssemblyException.#ctor(System.String,System.Exception)">
52 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException"></see> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
53 <param name="message">The error message that explains the reason for the exception.</param>
54 <param name="inner">The exception that is the cause of the current exception. If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception.</param>
56 <member name="M:System.Resources.MissingSatelliteAssemblyException.#ctor(System.String,System.String)">
57 <summary>Initializes a new instance of the <see cref="T:System.Resources.MissingSatelliteAssemblyException"></see> class with a specified error message and the name of a neutral culture.</summary>
58 <param name="message">The error message that explains the reason for the exception.</param>
59 <param name="cultureName">The name of the neutral culture.</param>
61 <member name="P:System.Resources.MissingSatelliteAssemblyException.CultureName">
62 <summary>Gets the name of the default culture.</summary>
63 <returns>The name of the default culture.</returns>
65 <member name="T:System.Resources.NeutralResourcesLanguageAttribute">
66 <summary>Informs the resource manager of an app&#39;s default culture. This class cannot be inherited.</summary>
68 <member name="M:System.Resources.NeutralResourcesLanguageAttribute.#ctor(System.String)">
69 <summary>Initializes a new instance of the <see cref="T:System.Resources.NeutralResourcesLanguageAttribute"></see> class.</summary>
70 <param name="cultureName">The name of the culture that the current assembly&#39;s neutral resources were written in.</param>
71 <exception cref="T:System.ArgumentNullException">The <paramref name="cultureName">cultureName</paramref> parameter is null.</exception>
73 <member name="M:System.Resources.NeutralResourcesLanguageAttribute.#ctor(System.String,System.Resources.UltimateResourceFallbackLocation)">
74 <summary>Initializes a new instance of the <see cref="T:System.Resources.NeutralResourcesLanguageAttribute"></see> class with the specified ultimate resource fallback location.</summary>
75 <param name="cultureName">The name of the culture that the current assembly&#39;s neutral resources were written in.</param>
76 <param name="location">One of the enumeration values that indicates the location from which to retrieve neutral fallback resources.</param>
77 <exception cref="T:System.ArgumentNullException"><paramref name="cultureName">cultureName</paramref> is null.</exception>
78 <exception cref="T:System.ArgumentException"><paramref name="location">location</paramref> is not a member of <see cref="System.Resources.UltimateResourceFallbackLocation"></see>.</exception>
80 <member name="P:System.Resources.NeutralResourcesLanguageAttribute.CultureName">
81 <summary>Gets the culture name.</summary>
82 <returns>The name of the default culture for the main assembly.</returns>
84 <member name="P:System.Resources.NeutralResourcesLanguageAttribute.Location">
85 <summary>Gets the location for the <see cref="T:System.Resources.ResourceManager"></see> class to use to retrieve neutral resources by using the resource fallback process.</summary>
86 <returns>One of the enumeration values that indicates the location (main assembly or satellite) from which to retrieve neutral resources.</returns>
88 <member name="T:System.Resources.ResourceManager">
89 <summary>Represents a resource manager that provides convenient access to culture-specific resources at run time.
90 Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.</summary>
92 <member name="M:System.Resources.ResourceManager.#ctor">
93 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceManager"></see> class with default values.</summary>
95 <member name="M:System.Resources.ResourceManager.#ctor(System.Type)">
96 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceManager"></see> class that looks up resources in satellite assemblies based on information from the specified type object.</summary>
97 <param name="resourceSource">A type from which the resource manager derives all information for finding .resources files.</param>
98 <exception cref="T:System.ArgumentNullException">The <paramref name="resourceSource">resourceSource</paramref> parameter is null.</exception>
100 <member name="M:System.Resources.ResourceManager.#ctor(System.String,System.Reflection.Assembly)">
101 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceManager"></see> class that looks up resources contained in files with the specified root name in the given assembly.</summary>
102 <param name="baseName">The root name of the resource file without its extension but including any fully qualified namespace name. For example, the root name for the resource file named MyApplication.MyResource.en-US.resources is MyApplication.MyResource.</param>
103 <param name="assembly">The main assembly for the resources.</param>
104 <exception cref="T:System.ArgumentNullException">The <paramref name="baseName">baseName</paramref> or <paramref name="assembly">assembly</paramref> parameter is null.</exception>
106 <member name="M:System.Resources.ResourceManager.#ctor(System.String,System.Reflection.Assembly,System.Type)">
107 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceManager"></see> class that uses a specified <see cref="T:System.Resources.ResourceSet"></see> class to look up resources contained in files with the specified root name in the given assembly.</summary>
108 <param name="baseName">The root name of the resource file without its extension but including any fully qualified namespace name. For example, the root name for the resource file named MyApplication.MyResource.en-US.resources is MyApplication.MyResource.</param>
109 <param name="assembly">The main assembly for the resources.</param>
110 <param name="usingResourceSet">The type of the custom <see cref="T:System.Resources.ResourceSet"></see> to use. If null, the default runtime <see cref="T:System.Resources.ResourceSet"></see> object is used.</param>
111 <exception cref="T:System.ArgumentException"><paramref name="usingResourceset">usingResourceset</paramref> is not a derived class of <see cref="System.Resources.ResourceSet"></see>.</exception>
112 <exception cref="T:System.ArgumentNullException">The <paramref name="baseName">baseName</paramref> or <paramref name="assembly">assembly</paramref> parameter is null.</exception>
114 <member name="P:System.Resources.ResourceManager.BaseName">
115 <summary>Gets the root name of the resource files that the <see cref="T:System.Resources.ResourceManager"></see> searches for resources.</summary>
116 <returns>The root name of the resource files that the <see cref="System.Resources.ResourceManager"></see> searches for resources.</returns>
118 <member name="M:System.Resources.ResourceManager.CreateFileBasedResourceManager(System.String,System.String,System.Type)">
119 <summary>Returns a <see cref="T:System.Resources.ResourceManager"></see> object that searches a specific directory instead of an assembly manifest for resources.</summary>
120 <param name="baseName">The root name of the resources. For example, the root name for the resource file named &quot;MyResource.en-US.resources&quot; is &quot;MyResource&quot;.</param>
121 <param name="resourceDir">The name of the directory to search for the resources. resourceDir can be an absolute path or a relative path from the application directory.</param>
122 <param name="usingResourceSet">The type of the custom <see cref="T:System.Resources.ResourceSet"></see> to use. If null, the default runtime <see cref="T:System.Resources.ResourceSet"></see> object is used.</param>
123 <returns>A new instance of a resource manager that searches the specified directory instead of an assembly manifest for resources.</returns>
124 <exception cref="T:System.ArgumentNullException">The <paramref name="baseName">baseName</paramref> or <paramref name="resourceDir">resourceDir</paramref> parameter is null.</exception>
126 <member name="P:System.Resources.ResourceManager.FallbackLocation">
127 <summary>Gets or sets the location from which to retrieve default fallback resources.</summary>
128 <returns>One of the enumeration values that specifies where the resource manager can look for fallback resources.</returns>
130 <member name="M:System.Resources.ResourceManager.GetNeutralResourcesLanguage(System.Reflection.Assembly)">
131 <summary>Returns culture-specific information for the main assembly&#39;s default resources by retrieving the value of the <see cref="T:System.Resources.NeutralResourcesLanguageAttribute"></see> attribute on a specified assembly.</summary>
132 <param name="a">The assembly for which to return culture-specific information.</param>
133 <returns>The culture from the <see cref="System.Resources.NeutralResourcesLanguageAttribute"></see> attribute, if found; otherwise, the invariant culture.</returns>
135 <member name="M:System.Resources.ResourceManager.GetObject(System.String)">
136 <summary>Returns the value of the specified non-string resource.</summary>
137 <param name="name">The name of the resource to get.</param>
138 <returns>The value of the resource localized for the caller&#39;s current culture settings. If an appropriate resource set exists but <paramref name="name">name</paramref> cannot be found, the method returns null.</returns>
139 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
140 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of localized resources has been found, and there are no default culture resources. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
141 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
143 <member name="M:System.Resources.ResourceManager.GetObject(System.String,System.Globalization.CultureInfo)">
144 <summary>Gets the value of the specified non-string resource localized for the specified culture.</summary>
145 <param name="name">The name of the resource to get.</param>
146 <param name="culture">The culture for which the resource is localized. If the resource is not localized for this culture, the resource manager uses fallback rules to locate an appropriate resource.
147 If this value is null, the <see cref="T:System.Globalization.CultureInfo"></see> object is obtained by using the <see cref="P:System.Globalization.CultureInfo.CurrentUICulture"></see> property.</param>
148 <returns>The value of the resource, localized for the specified culture. If an appropriate resource set exists but <paramref name="name">name</paramref> cannot be found, the method returns null.</returns>
149 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
150 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of resources have been found, and there are no default culture resources. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
151 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
153 <member name="M:System.Resources.ResourceManager.GetResourceFileName(System.Globalization.CultureInfo)">
154 <summary>Generates the name of the resource file for the given <see cref="T:System.Globalization.CultureInfo"></see> object.</summary>
155 <param name="culture">The culture object for which a resource file name is constructed.</param>
156 <returns>The name that can be used for a resource file for the given <see cref="System.Globalization.CultureInfo"></see> object.</returns>
158 <member name="M:System.Resources.ResourceManager.GetResourceSet(System.Globalization.CultureInfo,System.Boolean,System.Boolean)">
159 <summary>Retrieves the resource set for a particular culture.</summary>
160 <param name="culture">The culture whose resources are to be retrieved.</param>
161 <param name="createIfNotExists">true to load the resource set, if it has not been loaded yet; otherwise, false.</param>
162 <param name="tryParents">true to use resource fallback to load an appropriate resource if the resource set cannot be found; false to bypass the resource fallback process.</param>
163 <returns>The resource set for the specified culture.</returns>
164 <exception cref="T:System.ArgumentNullException">The <paramref name="culture">culture</paramref> parameter is null.</exception>
165 <exception cref="T:System.Resources.MissingManifestResourceException"><paramref name="tryParents">tryParents</paramref> is true, no usable set of resources has been found, and there are no default culture resources.</exception>
167 <member name="M:System.Resources.ResourceManager.GetSatelliteContractVersion(System.Reflection.Assembly)">
168 <summary>Returns the version specified by the <see cref="T:System.Resources.SatelliteContractVersionAttribute"></see> attribute in the given assembly.</summary>
169 <param name="a">The assembly to check for the <see cref="T:System.Resources.SatelliteContractVersionAttribute"></see> attribute.</param>
170 <returns>The satellite contract version of the given assembly, or null if no version was found.</returns>
171 <exception cref="T:System.ArgumentException">The <see cref="System.Version"></see> found in the assembly <paramref name="a">a</paramref> is invalid.</exception>
172 <exception cref="T:System.ArgumentNullException"><paramref name="a">a</paramref> is null.</exception>
174 <member name="M:System.Resources.ResourceManager.GetStream(System.String)">
175 <summary>Returns an unmanaged memory stream object from the specified resource.</summary>
176 <param name="name">The name of a resource.</param>
177 <returns>An unmanaged memory stream object that represents a resource .</returns>
178 <exception cref="T:System.InvalidOperationException">The value of the specified resource is not a <see cref="System.IO.MemoryStream"></see> object.</exception>
179 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
180 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of resources is found, and there are no default resources. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
181 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
183 <member name="M:System.Resources.ResourceManager.GetStream(System.String,System.Globalization.CultureInfo)">
184 <summary>Returns an unmanaged memory stream object from the specified resource, using the specified culture.</summary>
185 <param name="name">The name of a resource.</param>
186 <param name="culture">An object that specifies the culture to use for the resource lookup. If culture is null, the culture for the current thread is used.</param>
187 <returns>An unmanaged memory stream object that represents a resource.</returns>
188 <exception cref="T:System.InvalidOperationException">The value of the specified resource is not a <see cref="System.IO.MemoryStream"></see> object.</exception>
189 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
190 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of resources is found, and there are no default resources. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
191 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
193 <member name="M:System.Resources.ResourceManager.GetString(System.String)">
194 <summary>Returns the value of the specified string resource.</summary>
195 <param name="name">The name of the resource to retrieve.</param>
196 <returns>The value of the resource localized for the caller&#39;s current UI culture, or null if <paramref name="name">name</paramref> cannot be found in a resource set.</returns>
197 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
198 <exception cref="T:System.InvalidOperationException">The value of the specified resource is not a string.</exception>
199 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of resources has been found, and there are no resources for the default culture. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
200 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
202 <member name="M:System.Resources.ResourceManager.GetString(System.String,System.Globalization.CultureInfo)">
203 <summary>Returns the value of the string resource localized for the specified culture.</summary>
204 <param name="name">The name of the resource to retrieve.</param>
205 <param name="culture">An object that represents the culture for which the resource is localized.</param>
206 <returns>The value of the resource localized for the specified culture, or null if <paramref name="name">name</paramref> cannot be found in a resource set.</returns>
207 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
208 <exception cref="T:System.InvalidOperationException">The value of the specified resource is not a string.</exception>
209 <exception cref="T:System.Resources.MissingManifestResourceException">No usable set of resources has been found, and there are no resources for a default culture. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
210 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The default culture&#39;s resources reside in a satellite assembly that could not be found. For information about how to handle this exception, see the &quot;Handling MissingManifestResourceException and MissingSatelliteAssemblyException Exceptions&quot; section in the <see cref="System.Resources.ResourceManager"></see> class topic.</exception>
212 <member name="F:System.Resources.ResourceManager.HeaderVersionNumber">
213 <summary>Specifies the version of resource file headers that the current implementation of <see cref="T:System.Resources.ResourceManager"></see> can interpret and produce.</summary>
216 <member name="P:System.Resources.ResourceManager.IgnoreCase">
217 <summary>Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the <see cref="M:System.Resources.ResourceManager.GetString(System.String)"></see> and <see cref="M:System.Resources.ResourceManager.GetObject(System.String)"></see> methods.</summary>
218 <returns>true to ignore case during resource lookup; otherwise, false.</returns>
220 <member name="M:System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo,System.Boolean,System.Boolean)">
221 <summary>Provides the implementation for finding a resource set.</summary>
222 <param name="culture">The culture object to look for.</param>
223 <param name="createIfNotExists">true to load the resource set, if it has not been loaded yet; otherwise, false.</param>
224 <param name="tryParents">true to check parent <see cref="T:System.Globalization.CultureInfo"></see> objects if the resource set cannot be loaded; otherwise, false.</param>
225 <returns>The specified resource set.</returns>
226 <exception cref="T:System.Resources.MissingManifestResourceException">The main assembly does not contain a .resources file, which is required to look up a resource.</exception>
227 <exception cref="T:System.ExecutionEngineException">There was an internal error in the runtime.</exception>
228 <exception cref="T:System.Resources.MissingSatelliteAssemblyException">The satellite assembly associated with <paramref name="culture">culture</paramref> could not be located.</exception>
230 <member name="F:System.Resources.ResourceManager.MagicNumber">
231 <summary>Holds the number used to identify resource files.</summary>
234 <member name="F:System.Resources.ResourceManager.MainAssembly">
235 <summary>Specifies the main assembly that contains the resources.</summary>
238 <member name="M:System.Resources.ResourceManager.ReleaseAllResources">
239 <summary>Tells the resource manager to call the <see cref="M:System.Resources.ResourceSet.Close"></see> method on all <see cref="T:System.Resources.ResourceSet"></see> objects and release all resources.</summary>
241 <member name="P:System.Resources.ResourceManager.ResourceSetType">
242 <summary>Gets the type of the resource set object that the resource manager uses to construct a <see cref="T:System.Resources.ResourceSet"></see> object.</summary>
243 <returns>The type of the resource set object that the resource manager uses to construct a <see cref="System.Resources.ResourceSet"></see> object.</returns>
245 <member name="T:System.Resources.ResourceReader">
246 <summary>Enumerates the resources in a binary resources (.resources) file by reading sequential resource name/value pairs.
247 Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.</summary>
249 <member name="M:System.Resources.ResourceReader.#ctor(System.IO.Stream)">
250 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceReader"></see> class for the specified stream.</summary>
251 <param name="stream">The input stream for reading resources.</param>
252 <exception cref="T:System.ArgumentException">The <paramref name="stream">stream</paramref> parameter is not readable.</exception>
253 <exception cref="T:System.ArgumentNullException">The <paramref name="stream">stream</paramref> parameter is null.</exception>
254 <exception cref="T:System.IO.IOException">An I/O error has occurred while accessing <paramref name="stream">stream</paramref>.</exception>
256 <member name="M:System.Resources.ResourceReader.#ctor(System.String)">
257 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceReader"></see> class for the specified named resource file.</summary>
258 <param name="fileName">The path and name of the resource file to read. filename is not case-sensitive.</param>
259 <exception cref="T:System.ArgumentNullException">The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
260 <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
261 <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
262 <exception cref="T:System.BadImageFormatException">The resource file has an invalid format. For example, the length of the file may be zero.</exception>
264 <member name="M:System.Resources.ResourceReader.Close">
265 <summary>Releases all operating system resources associated with this <see cref="T:System.Resources.ResourceReader"></see> object.</summary>
267 <member name="M:System.Resources.ResourceReader.Dispose">
268 <summary>Releases all resources used by the current instance of the <see cref="T:System.Resources.ResourceReader"></see> class.</summary>
270 <member name="M:System.Resources.ResourceReader.GetEnumerator">
271 <summary>Returns an enumerator for this <see cref="T:System.Resources.ResourceReader"></see> object.</summary>
272 <returns>An enumerator for this <see cref="System.Resources.ResourceReader"></see> object.</returns>
273 <exception cref="T:System.InvalidOperationException">The reader has been closed or disposed, and cannot be accessed.</exception>
275 <member name="M:System.Resources.ResourceReader.GetResourceData(System.String,System.String@,System.Byte[]@)">
276 <summary>Retrieves the type name and data of a named resource from an open resource file or stream.</summary>
277 <param name="resourceName">The name of a resource.</param>
278 <param name="resourceType">When this method returns, contains a string that represents the type name of the retrieved resource. This parameter is passed uninitialized.</param>
279 <param name="resourceData">When this method returns, contains a byte array that is the binary representation of the retrieved type. This parameter is passed uninitialized.</param>
280 <exception cref="T:System.ArgumentNullException"><paramref name="resourceName">resourceName</paramref> is null.</exception>
281 <exception cref="T:System.ArgumentException"><paramref name="resourceName">resourceName</paramref> does not exist.</exception>
282 <exception cref="T:System.BadImageFormatException"><paramref name="resourceName">resourceName</paramref> has an invalid type.</exception>
283 <exception cref="T:System.FormatException">The retrieved resource data is corrupt.</exception>
284 <exception cref="T:System.InvalidOperationException">The current <see cref="System.Resources.ResourceReader"></see> object is not initialized, probably because it is closed.</exception>
286 <member name="M:System.Resources.ResourceReader.System#Collections#IEnumerable#GetEnumerator">
287 <summary>Returns an enumerator for this <see cref="T:System.Resources.ResourceReader"></see> object.</summary>
288 <returns>An enumerator for this <see cref="System.Resources.ResourceReader"></see> object.</returns>
289 <exception cref="T:System.InvalidOperationException">The reader has already been closed and cannot be accessed.</exception>
291 <member name="T:System.Resources.ResourceSet">
292 <summary>Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.
293 Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.</summary>
295 <member name="M:System.Resources.ResourceSet.#ctor">
296 <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceSet"></see> class with default properties.</summary>
298 <member name="M:System.Resources.ResourceSet.#ctor(System.IO.Stream)">
299 <summary>Creates a new instance of the <see cref="T:System.Resources.ResourceSet"></see> class using the system default <see cref="T:System.Resources.ResourceReader"></see> that reads resources from the given stream.</summary>
300 <param name="stream">The <see cref="T:System.IO.Stream"></see> of resources to be read. The stream should refer to an existing resources file.</param>
301 <exception cref="T:System.ArgumentException">The <paramref name="stream">stream</paramref> is not readable.</exception>
302 <exception cref="T:System.ArgumentNullException">The <paramref name="stream">stream</paramref> parameter is null.</exception>
304 <member name="M:System.Resources.ResourceSet.#ctor(System.Resources.IResourceReader)">
305 <summary>Creates a new instance of the <see cref="T:System.Resources.ResourceSet"></see> class using the specified resource reader.</summary>
306 <param name="reader">The reader that will be used.</param>
307 <exception cref="T:System.ArgumentNullException">The <paramref name="reader">reader</paramref> parameter is null.</exception>
309 <member name="M:System.Resources.ResourceSet.#ctor(System.String)">
310 <summary>Creates a new instance of the <see cref="T:System.Resources.ResourceSet"></see> class using the system default <see cref="T:System.Resources.ResourceReader"></see> that opens and reads resources from the given file.</summary>
311 <param name="fileName">Resource file to read.</param>
312 <exception cref="T:System.ArgumentNullException">The <paramref name="fileName">fileName</paramref> parameter is null.</exception>
314 <member name="M:System.Resources.ResourceSet.Close">
315 <summary>Closes and releases any resources used by this <see cref="T:System.Resources.ResourceSet"></see>.</summary>
317 <member name="M:System.Resources.ResourceSet.Dispose">
318 <summary>Disposes of the resources (other than memory) used by the current instance of <see cref="T:System.Resources.ResourceSet"></see>.</summary>
320 <member name="M:System.Resources.ResourceSet.Dispose(System.Boolean)">
321 <summary>Releases resources (other than memory) associated with the current instance, closing internal managed objects if requested.</summary>
322 <param name="disposing">Indicates whether the objects contained in the current instance should be explicitly closed.</param>
324 <member name="M:System.Resources.ResourceSet.GetDefaultReader">
325 <summary>Returns the preferred resource reader class for this kind of <see cref="T:System.Resources.ResourceSet"></see>.</summary>
326 <returns>Returns the <see cref="System.Type"></see> for the preferred resource reader for this kind of <see cref="System.Resources.ResourceSet"></see>.</returns>
328 <member name="M:System.Resources.ResourceSet.GetDefaultWriter">
329 <summary>Returns the preferred resource writer class for this kind of <see cref="T:System.Resources.ResourceSet"></see>.</summary>
330 <returns>Returns the <see cref="System.Type"></see> for the preferred resource writer for this kind of <see cref="System.Resources.ResourceSet"></see>.</returns>
332 <member name="M:System.Resources.ResourceSet.GetEnumerator">
333 <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator"></see> that can iterate through the <see cref="T:System.Resources.ResourceSet"></see>.</summary>
334 <returns>An <see cref="System.Collections.IDictionaryEnumerator"></see> for this <see cref="System.Resources.ResourceSet"></see>.</returns>
335 <exception cref="T:System.ObjectDisposedException">The resource set has been closed or disposed.</exception>
337 <member name="M:System.Resources.ResourceSet.GetObject(System.String)">
338 <summary>Searches for a resource object with the specified name.</summary>
339 <param name="name">Case-sensitive name of the resource to search for.</param>
340 <returns>The requested resource.</returns>
341 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
342 <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
344 <member name="M:System.Resources.ResourceSet.GetObject(System.String,System.Boolean)">
345 <summary>Searches for a resource object with the specified name in a case-insensitive manner, if requested.</summary>
346 <param name="name">Name of the resource to search for.</param>
347 <param name="ignoreCase">Indicates whether the case of the specified name should be ignored.</param>
348 <returns>The requested resource.</returns>
349 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
350 <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
352 <member name="M:System.Resources.ResourceSet.GetString(System.String)">
353 <summary>Searches for a <see cref="T:System.String"></see> resource with the specified name.</summary>
354 <param name="name">Name of the resource to search for.</param>
355 <returns>The value of a resource, if the value is a <see cref="System.String"></see>.</returns>
356 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
357 <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name">name</paramref> is not a <see cref="System.String"></see>.</exception>
358 <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
360 <member name="M:System.Resources.ResourceSet.GetString(System.String,System.Boolean)">
361 <summary>Searches for a <see cref="T:System.String"></see> resource with the specified name in a case-insensitive manner, if requested.</summary>
362 <param name="name">Name of the resource to search for.</param>
363 <param name="ignoreCase">Indicates whether the case of the case of the specified name should be ignored.</param>
364 <returns>The value of a resource, if the value is a <see cref="System.String"></see>.</returns>
365 <exception cref="T:System.ArgumentNullException">The <paramref name="name">name</paramref> parameter is null.</exception>
366 <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name">name</paramref> is not a <see cref="System.String"></see>.</exception>
367 <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
369 <member name="M:System.Resources.ResourceSet.ReadResources">
370 <summary>Reads all the resources and stores them in a <see cref="T:System.Collections.Hashtable"></see> indicated in the <see cref="F:System.Resources.ResourceSet.Table"></see> property.</summary>
372 <member name="M:System.Resources.ResourceSet.System#Collections#IEnumerable#GetEnumerator">
373 <summary>Returns an <see cref="T:System.Collections.IEnumerator"></see> object to avoid a race condition with Dispose. This member is not intended to be used directly from your code.</summary>
374 <returns>An enumerator for the current <see cref="System.Resources.ResourceSet"></see> object.</returns>
376 <member name="T:System.Resources.SatelliteContractVersionAttribute">
377 <summary>Instructs a <see cref="T:System.Resources.ResourceManager"></see> object to ask for a particular version of a satellite assembly.</summary>
379 <member name="M:System.Resources.SatelliteContractVersionAttribute.#ctor(System.String)">
380 <summary>Initializes a new instance of the <see cref="T:System.Resources.SatelliteContractVersionAttribute"></see> class.</summary>
381 <param name="version">A string that specifies the version of the satellite assemblies to load.</param>
382 <exception cref="T:System.ArgumentNullException">The <paramref name="version">version</paramref> parameter is null.</exception>
384 <member name="P:System.Resources.SatelliteContractVersionAttribute.Version">
385 <summary>Gets the version of the satellite assemblies with the required resources.</summary>
386 <returns>A string that contains the version of the satellite assemblies with the required resources.</returns>
388 <member name="T:System.Resources.UltimateResourceFallbackLocation">
389 <summary>Specifies whether a <see cref="T:System.Resources.ResourceManager"></see> object looks for the resources of the app&#39;s default culture in the main assembly or in a satellite assembly.</summary>
391 <member name="F:System.Resources.UltimateResourceFallbackLocation.MainAssembly">
392 <summary>Fallback resources are located in the main assembly.</summary>
395 <member name="F:System.Resources.UltimateResourceFallbackLocation.Satellite">
396 <summary>Fallback resources are located in a satellite assembly.</summary>