1<?xml version="1.0" encoding="utf-8"?> 2<Type Name="ResXResourceReader" FullName="System.Resources.ResXResourceReader"> 3 <TypeSignature Language="C#" Value="public class ResXResourceReader : System.Resources.IResourceReader" /> 4 <AssemblyInfo> 5 <AssemblyName>System.Windows.Forms</AssemblyName> 6 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 7 <AssemblyVersion>2.0.0.0</AssemblyVersion> 8 </AssemblyInfo> 9 <Base> 10 <BaseTypeName>System.Object</BaseTypeName> 11 </Base> 12 <Interfaces> 13 <Interface> 14 <InterfaceName>System.Resources.IResourceReader</InterfaceName> 15 </Interface> 16 </Interfaces> 17 <Docs> 18 <remarks> 19 <attribution license="cc4" from="Microsoft" modified="false" /> 20 <para>The <see cref="T:System.Resources.ResXResourceReader" /> class provides a default implementation of the <see cref="T:System.Resources.IResourceReader" /> interface that reads resource information in an XML format. To read resource information from a binary resource format, use the <see cref="T:System.Resources.ResourceReader" /> class.</para> 21 <para>You use the <see cref="T:System.Resources.ResXResourceReader" /> class to enumerate resources in .resx files by traversing the dictionary enumerator (<see cref="T:System.Collections.IDictionaryEnumerator" />) that is returned by the <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" /> method. You call the methods provided by <see cref="T:System.Collections.IDictionaryEnumerator" /> to advance to the next resource and to read the name and value of each resource in the .resx file. </para> 22 <block subset="none" type="note"> 23 <para>The <see cref="T:System.Resources.ResXResourceReader" /> class provides two enumerators. The <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" /> method returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object; we recommend that you use this method to enumerate resources. The <see cref="M:System.Resources.ResXResourceReader.System#Collections#IEnumerable#GetEnumerator" /> method is an explicit interface implementation that returns an <see cref="T:System.Collections.IEnumerator" /> object; we do not recommend its use.</para> 24 </block> 25 <para>The following example uses the <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" /> method to obtain an <see cref="T:System.Collections.IDictionaryEnumerator" /> object that is used to enumerate the resources in a .resx file. The example includes a CreateResourceFile routine that creates the necessary resource file.</para> 26 <para>code reference: System.Resources.ResXResourceReader.Class#1</para> 27 <para>If the <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> property is true, the value of the <see cref="P:System.Collections.IDictionaryEnumerator.Value" /> property is a <see cref="T:System.Resources.ResXDataNode" /> object rather than the resource value. This makes a resource item's comment available from the <see cref="P:System.Resources.ResXDataNode.Comment" /> property. The following example sets the <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> property to true and enumerates the resources in a .resx file,</para> 28 <para>code reference: System.Resources.ResXResourceReader.Class#2</para> 29 <para>If <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> is true, the <see cref="T:System.Resources.ResXDataNode" /> items in the enumeration can be either: </para> 30 <list type="bullet"> 31 <item> 32 <para>Named resources along with their data. In this case, the <see cref="P:System.Resources.ResXDataNode.FileRef" /> property is null. </para> 33 </item> 34 <item> 35 <para>Named resources along with the name of the file that contains the resource data. In this case, the <see cref="P:System.Resources.ResXDataNode.FileRef" /> property returns a <see cref="T:System.Resources.ResXFileRef" /> object that provides information about the resource, including its filename. If relative file names are used, you should always set the <see cref="P:System.Resources.ResXResourceReader.BasePath" /> property to provide a reference point for the relative file path. </para> 36 </item> 37 </list> 38 <para>If you want to retrieve named resources from a .resx file rather than enumerating its resources, you can instantiate a <see cref="T:System.Resources.ResXResourceSet" /> object and call its GetString and GetObject methods. </para> 39 <block subset="none" type="note"> 40 <para>The <see cref="T:System.Resources.ResXResourceReader" /> class contains a link demand and an inheritance demand at the class level that applies to all members. A <see cref="T:System.Security.SecurityException" /> exception is thrown when either the immediate caller or the derived class does not have full-trust permission. For more information about security demands, see <format type="text/html"><a href="a33fd5f9-2de9-4653-a4f0-d9df25082c4d">Link Demands</a></format> and <format type="text/html"><a href="28b9adbb-8f08-4f10-b856-dbf59eb932d9">Inheritance Demands</a></format>.</para> 41 </block> 42 </remarks> 43 <summary> 44 <attribution license="cc4" from="Microsoft" modified="false" /> 45 <para>Enumerates XML resource (.resx) files and streams, and reads the sequential resource name and value pairs.</para> 46 </summary> 47 </Docs> 48 <Members> 49 <Member MemberName=".ctor"> 50 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.Stream stream);" /> 51 <MemberType>Constructor</MemberType> 52 <Parameters> 53 <Parameter Name="stream" Type="System.IO.Stream" /> 54 </Parameters> 55 <Docs> 56 <remarks> 57 <attribution license="cc4" from="Microsoft" modified="false" /> 58 <block subset="none" type="note"> 59 <para>The <see cref="M:System.Resources.ResXResourceReader.Dispose(System.Boolean)" /> and <see cref="M:System.Resources.ResXResourceReader.Close" /> methods do not close the stream you specify in this constructor.</para> 60 </block> 61 </remarks> 62 <summary> 63 <attribution license="cc4" from="Microsoft" modified="false" /> 64 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class for the specified stream.</para> 65 </summary> 66 <param name="stream"> 67 <attribution license="cc4" from="Microsoft" modified="false" />An input stream that contains resources. </param> 68 </Docs> 69 <AssemblyInfo> 70 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 71 <AssemblyVersion>2.0.0.0</AssemblyVersion> 72 </AssemblyInfo> 73 </Member> 74 <Member MemberName=".ctor"> 75 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.TextReader reader);" /> 76 <MemberType>Constructor</MemberType> 77 <Parameters> 78 <Parameter Name="reader" Type="System.IO.TextReader" /> 79 </Parameters> 80 <Docs> 81 <remarks>To be added.</remarks> 82 <summary> 83 <attribution license="cc4" from="Microsoft" modified="false" /> 84 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class for the specified <see cref="T:System.IO.TextReader" />.</para> 85 </summary> 86 <param name="reader"> 87 <attribution license="cc4" from="Microsoft" modified="false" />A text input stream that contains resources. </param> 88 </Docs> 89 <AssemblyInfo> 90 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 91 <AssemblyVersion>2.0.0.0</AssemblyVersion> 92 </AssemblyInfo> 93 </Member> 94 <Member MemberName=".ctor"> 95 <MemberSignature Language="C#" Value="public ResXResourceReader (string fileName);" /> 96 <MemberType>Constructor</MemberType> 97 <Parameters> 98 <Parameter Name="fileName" Type="System.String" /> 99 </Parameters> 100 <Docs> 101 <remarks>To be added.</remarks> 102 <summary> 103 <attribution license="cc4" from="Microsoft" modified="false" /> 104 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class for the specified resource file.</para> 105 </summary> 106 <param name="fileName"> 107 <attribution license="cc4" from="Microsoft" modified="false" />The path of the resource file to read. </param> 108 </Docs> 109 <AssemblyInfo> 110 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 111 <AssemblyVersion>2.0.0.0</AssemblyVersion> 112 </AssemblyInfo> 113 </Member> 114 <Member MemberName=".ctor"> 115 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.Stream stream, System.ComponentModel.Design.ITypeResolutionService typeResolver);" /> 116 <MemberType>Constructor</MemberType> 117 <Parameters> 118 <Parameter Name="stream" Type="System.IO.Stream" /> 119 <Parameter Name="typeResolver" Type="System.ComponentModel.Design.ITypeResolutionService" /> 120 </Parameters> 121 <Docs> 122 <remarks>To be added.</remarks> 123 <summary> 124 <attribution license="cc4" from="Microsoft" modified="false" /> 125 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using an input stream and a type resolution service. </para> 126 </summary> 127 <param name="stream"> 128 <attribution license="cc4" from="Microsoft" modified="false" />An input stream that contains resources. </param> 129 <param name="typeResolver"> 130 <attribution license="cc4" from="Microsoft" modified="false" />An object that resolves type names specified in a resource.</param> 131 </Docs> 132 <AssemblyInfo> 133 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 134 <AssemblyVersion>2.0.0.0</AssemblyVersion> 135 </AssemblyInfo> 136 </Member> 137 <Member MemberName=".ctor"> 138 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.Stream stream, System.Reflection.AssemblyName[] assemblyNames);" /> 139 <MemberType>Constructor</MemberType> 140 <AssemblyInfo> 141 <AssemblyVersion>2.0.0.0</AssemblyVersion> 142 </AssemblyInfo> 143 <Parameters> 144 <Parameter Name="stream" Type="System.IO.Stream" /> 145 <Parameter Name="assemblyNames" Type="System.Reflection.AssemblyName[]" /> 146 </Parameters> 147 <Docs> 148 <remarks>To be added.</remarks> 149 <summary> 150 <attribution license="cc4" from="Microsoft" modified="false" /> 151 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using a stream and an array of assembly names. </para> 152 </summary> 153 <param name="stream"> 154 <attribution license="cc4" from="Microsoft" modified="false" />An input stream that contains resources. </param> 155 <param name="assemblyNames"> 156 <attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Reflection.AssemblyName" /> objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type. </param> 157 </Docs> 158 </Member> 159 <Member MemberName=".ctor"> 160 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.TextReader reader, System.ComponentModel.Design.ITypeResolutionService typeResolver);" /> 161 <MemberType>Constructor</MemberType> 162 <Parameters> 163 <Parameter Name="reader" Type="System.IO.TextReader" /> 164 <Parameter Name="typeResolver" Type="System.ComponentModel.Design.ITypeResolutionService" /> 165 </Parameters> 166 <Docs> 167 <remarks>To be added.</remarks> 168 <summary> 169 <attribution license="cc4" from="Microsoft" modified="false" /> 170 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using a text stream reader and a type resolution service. </para> 171 </summary> 172 <param name="reader"> 173 <attribution license="cc4" from="Microsoft" modified="false" />A text stream reader that contains resources. </param> 174 <param name="typeResolver"> 175 <attribution license="cc4" from="Microsoft" modified="false" />An object that resolves type names specified in a resource.</param> 176 </Docs> 177 <AssemblyInfo> 178 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 179 <AssemblyVersion>2.0.0.0</AssemblyVersion> 180 </AssemblyInfo> 181 </Member> 182 <Member MemberName=".ctor"> 183 <MemberSignature Language="C#" Value="public ResXResourceReader (System.IO.TextReader reader, System.Reflection.AssemblyName[] assemblyNames);" /> 184 <MemberType>Constructor</MemberType> 185 <AssemblyInfo> 186 <AssemblyVersion>2.0.0.0</AssemblyVersion> 187 </AssemblyInfo> 188 <Parameters> 189 <Parameter Name="reader" Type="System.IO.TextReader" /> 190 <Parameter Name="assemblyNames" Type="System.Reflection.AssemblyName[]" /> 191 </Parameters> 192 <Docs> 193 <remarks>To be added.</remarks> 194 <summary> 195 <attribution license="cc4" from="Microsoft" modified="false" /> 196 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using a <see cref="T:System.IO.TextReader" /> object and an array of assembly names.</para> 197 </summary> 198 <param name="reader"> 199 <attribution license="cc4" from="Microsoft" modified="false" />An object used to read resources from a stream of text. </param> 200 <param name="assemblyNames"> 201 <attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Reflection.AssemblyName" /> objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type. </param> 202 </Docs> 203 </Member> 204 <Member MemberName=".ctor"> 205 <MemberSignature Language="C#" Value="public ResXResourceReader (string fileName, System.ComponentModel.Design.ITypeResolutionService typeResolver);" /> 206 <MemberType>Constructor</MemberType> 207 <Parameters> 208 <Parameter Name="fileName" Type="System.String" /> 209 <Parameter Name="typeResolver" Type="System.ComponentModel.Design.ITypeResolutionService" /> 210 </Parameters> 211 <Docs> 212 <remarks>To be added.</remarks> 213 <summary> 214 <attribution license="cc4" from="Microsoft" modified="false" /> 215 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using a file name and a type resolution service. </para> 216 </summary> 217 <param name="fileName"> 218 <attribution license="cc4" from="Microsoft" modified="false" />The name of an XML resource file that contains resources. </param> 219 <param name="typeResolver"> 220 <attribution license="cc4" from="Microsoft" modified="false" />An object that resolves type names specified in a resource.</param> 221 </Docs> 222 <AssemblyInfo> 223 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 224 <AssemblyVersion>2.0.0.0</AssemblyVersion> 225 </AssemblyInfo> 226 </Member> 227 <Member MemberName=".ctor"> 228 <MemberSignature Language="C#" Value="public ResXResourceReader (string fileName, System.Reflection.AssemblyName[] assemblyNames);" /> 229 <MemberType>Constructor</MemberType> 230 <AssemblyInfo> 231 <AssemblyVersion>2.0.0.0</AssemblyVersion> 232 </AssemblyInfo> 233 <Parameters> 234 <Parameter Name="fileName" Type="System.String" /> 235 <Parameter Name="assemblyNames" Type="System.Reflection.AssemblyName[]" /> 236 </Parameters> 237 <Docs> 238 <remarks>To be added.</remarks> 239 <summary> 240 <attribution license="cc4" from="Microsoft" modified="false" /> 241 <para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceReader" /> class using an XML resource file name and an array of assembly names. </para> 242 </summary> 243 <param name="fileName"> 244 <attribution license="cc4" from="Microsoft" modified="false" />The name of an XML resource file that contains resources. </param> 245 <param name="assemblyNames"> 246 <attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Reflection.AssemblyName" /> objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type. </param> 247 </Docs> 248 </Member> 249 <Member MemberName="BasePath"> 250 <MemberSignature Language="C#" Value="public string BasePath { set; get; }" /> 251 <MemberType>Property</MemberType> 252 <AssemblyInfo> 253 <AssemblyVersion>2.0.0.0</AssemblyVersion> 254 </AssemblyInfo> 255 <ReturnValue> 256 <ReturnType>System.String</ReturnType> 257 </ReturnValue> 258 <Docs> 259 <value>To be added.</value> 260 <remarks> 261 <attribution license="cc4" from="Microsoft" modified="false" /> 262 <para>The <see cref="P:System.Resources.ResXResourceReader.BasePath" /> property is used to resolve relative file path references that are assigned to the <see cref="P:System.Resources.ResXFileRef.FileName" /> property of <see cref="T:System.Resources.ResXFileRef" /> objects. By default, its value is <see cref="F:System.String.Empty" />, and relative file path references are resolved in relationship to the current directory returned by the <see cref="P:System.Environment.CurrentDirectory" /> property. You should set this property before you begin enumerating resources.</para> 263 </remarks> 264 <summary> 265 <attribution license="cc4" from="Microsoft" modified="false" /> 266 <para>Gets or sets the base path for the relative file path specified in a <see cref="T:System.Resources.ResXFileRef" /> object.</para> 267 </summary> 268 </Docs> 269 </Member> 270 <Member MemberName="Close"> 271 <MemberSignature Language="C#" Value="public void Close ();" /> 272 <MemberType>Method</MemberType> 273 <ReturnValue> 274 <ReturnType>System.Void</ReturnType> 275 </ReturnValue> 276 <Parameters /> 277 <Docs> 278 <remarks> 279 <attribution license="cc4" from="Microsoft" modified="false" /> 280 <para>Calling <see cref="M:System.Resources.ResXResourceReader.Close" /> enables the resources used by the <see cref="T:System.Resources.ResXResourceReader" /> to be reallocated for other purposes. For more information about <see cref="M:System.Resources.ResXResourceReader.Close" />, see <format type="text/html"><a href="A17B0066-71C2-4BA4-9822-8E19332FC213">[<topic://cpconCleaningUpUnmanagedResources>]</a></format>.</para> 281 </remarks> 282 <summary> 283 <attribution license="cc4" from="Microsoft" modified="false" /> 284 <para>Releases all resources used by the <see cref="T:System.Resources.ResXResourceReader" />.</para> 285 </summary> 286 </Docs> 287 <AssemblyInfo> 288 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 289 <AssemblyVersion>2.0.0.0</AssemblyVersion> 290 </AssemblyInfo> 291 </Member> 292 <Member MemberName="Dispose"> 293 <MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" /> 294 <MemberType>Method</MemberType> 295 <ReturnValue> 296 <ReturnType>System.Void</ReturnType> 297 </ReturnValue> 298 <Parameters> 299 <Parameter Name="disposing" Type="System.Boolean" /> 300 </Parameters> 301 <Docs> 302 <remarks> 303 <attribution license="cc4" from="Microsoft" modified="false" /> 304 <para>This method can be called by either the <see cref="M:System.Resources.ResXResourceReader.System#IDisposable#Dispose" /> method or the <see cref="M:System.Object.Finalize" /> method. <see cref="M:System.Resources.ResXResourceReader.System#IDisposable#Dispose" /> invokes this method with the <paramref name="disposing" /> parameter set to true. <see cref="M:System.Object.Finalize" /> invokes this method with <paramref name="disposing" /> set to false.</para> 305 <para>When the <paramref name="disposing" /> parameter is true, this method releases all resources held by any managed objects that this <see cref="T:System.Resources.ResXResourceReader" /> references. This method invokes the Dispose method of each referenced object.</para> 306 </remarks> 307 <summary> 308 <attribution license="cc4" from="Microsoft" modified="false" /> 309 <para>Releases the unmanaged resources used by the <see cref="T:System.Resources.ResXResourceReader" /> and optionally releases the managed resources.</para> 310 </summary> 311 <param name="disposing"> 312 <attribution license="cc4" from="Microsoft" modified="false" />true to release both managed and unmanaged resources; false to release only unmanaged resources. </param> 313 </Docs> 314 <AssemblyInfo> 315 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 316 <AssemblyVersion>2.0.0.0</AssemblyVersion> 317 </AssemblyInfo> 318 </Member> 319 <Member MemberName="Finalize"> 320 <MemberSignature Language="C#" Value="~ResXResourceReader ();" /> 321 <MemberType>Method</MemberType> 322 <ReturnValue> 323 <ReturnType>System.Void</ReturnType> 324 </ReturnValue> 325 <Parameters /> 326 <Docs> 327 <remarks>To be added.</remarks> 328 <summary> 329 <attribution license="cc4" from="Microsoft" modified="false" /> 330 <para>This member overrides the <see cref="M:System.Object.Finalize" /> method. </para> 331 </summary> 332 </Docs> 333 <AssemblyInfo> 334 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 335 <AssemblyVersion>2.0.0.0</AssemblyVersion> 336 </AssemblyInfo> 337 </Member> 338 <Member MemberName="FromFileContents"> 339 <MemberSignature Language="C#" Value="public static System.Resources.ResXResourceReader FromFileContents (string fileContents);" /> 340 <MemberType>Method</MemberType> 341 <ReturnValue> 342 <ReturnType>System.Resources.ResXResourceReader</ReturnType> 343 </ReturnValue> 344 <Parameters> 345 <Parameter Name="fileContents" Type="System.String" /> 346 </Parameters> 347 <Docs> 348 <remarks>To be added.</remarks> 349 <summary> 350 <attribution license="cc4" from="Microsoft" modified="false" /> 351 <para>Creates a new <see cref="T:System.Resources.ResXResourceReader" /> object and initializes it to read a string whose contents are in the form of an XML resource file.</para> 352 </summary> 353 <returns> 354 <attribution license="cc4" from="Microsoft" modified="false" /> 355 <para>An object that reads resources from the <paramref name="fileContents" /> string.</para> 356 </returns> 357 <param name="fileContents"> 358 <attribution license="cc4" from="Microsoft" modified="false" />A string containing XML resource-formatted information. </param> 359 </Docs> 360 <AssemblyInfo> 361 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 362 <AssemblyVersion>2.0.0.0</AssemblyVersion> 363 </AssemblyInfo> 364 </Member> 365 <Member MemberName="FromFileContents"> 366 <MemberSignature Language="C#" Value="public static System.Resources.ResXResourceReader FromFileContents (string fileContents, System.ComponentModel.Design.ITypeResolutionService typeResolver);" /> 367 <MemberType>Method</MemberType> 368 <ReturnValue> 369 <ReturnType>System.Resources.ResXResourceReader</ReturnType> 370 </ReturnValue> 371 <Parameters> 372 <Parameter Name="fileContents" Type="System.String" /> 373 <Parameter Name="typeResolver" Type="System.ComponentModel.Design.ITypeResolutionService" /> 374 </Parameters> 375 <Docs> 376 <remarks>To be added.</remarks> 377 <summary> 378 <attribution license="cc4" from="Microsoft" modified="false" /> 379 <para>Creates a new <see cref="T: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 <see cref="T:System.ComponentModel.Design.ITypeResolutionService" /> object to resolve type names specified in a resource.</para> 380 </summary> 381 <returns> 382 <attribution license="cc4" from="Microsoft" modified="false" /> 383 <para>An object that reads resources from the <paramref name="fileContents" /> string.</para> 384 </returns> 385 <param name="fileContents"> 386 <attribution license="cc4" from="Microsoft" modified="false" />A string containing XML resource-formatted information. </param> 387 <param name="typeResolver"> 388 <attribution license="cc4" from="Microsoft" modified="false" />An object that resolves type names specified in a resource.</param> 389 </Docs> 390 <AssemblyInfo> 391 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 392 <AssemblyVersion>2.0.0.0</AssemblyVersion> 393 </AssemblyInfo> 394 </Member> 395 <Member MemberName="FromFileContents"> 396 <MemberSignature Language="C#" Value="public static System.Resources.ResXResourceReader FromFileContents (string fileContents, System.Reflection.AssemblyName[] assemblyNames);" /> 397 <MemberType>Method</MemberType> 398 <AssemblyInfo> 399 <AssemblyVersion>2.0.0.0</AssemblyVersion> 400 </AssemblyInfo> 401 <ReturnValue> 402 <ReturnType>System.Resources.ResXResourceReader</ReturnType> 403 </ReturnValue> 404 <Parameters> 405 <Parameter Name="fileContents" Type="System.String" /> 406 <Parameter Name="assemblyNames" Type="System.Reflection.AssemblyName[]" /> 407 </Parameters> 408 <Docs> 409 <remarks>To be added.</remarks> 410 <summary> 411 <attribution license="cc4" from="Microsoft" modified="false" /> 412 <para>Creates a new <see cref="T: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 <see cref="T:System.Reflection.AssemblyName" /> objects to resolve type names specified in a resource. </para> 413 </summary> 414 <returns> 415 <attribution license="cc4" from="Microsoft" modified="false" /> 416 <para>An object that reads resources from the <paramref name="fileContents" /> string.</para> 417 </returns> 418 <param name="fileContents"> 419 <attribution license="cc4" from="Microsoft" modified="false" />A string whose contents are in the form of an XML resource file. </param> 420 <param name="assemblyNames"> 421 <attribution license="cc4" from="Microsoft" modified="false" />An array of <see cref="T:System.Reflection.AssemblyName" /> objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type. </param> 422 </Docs> 423 </Member> 424 <Member MemberName="GetEnumerator"> 425 <MemberSignature Language="C#" Value="public System.Collections.IDictionaryEnumerator GetEnumerator ();" /> 426 <MemberType>Method</MemberType> 427 <ReturnValue> 428 <ReturnType>System.Collections.IDictionaryEnumerator</ReturnType> 429 </ReturnValue> 430 <Parameters /> 431 <Docs> 432 <remarks> 433 <attribution license="cc4" from="Microsoft" modified="false" /> 434 <para>The <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" /> method retrieves the name/value pairs in the XML resource (.resx) stream or string associated with the current <see cref="T:System.Resources.ResXResourceReader" /> object. However, if the <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> property is set to true before you call <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" />, the resource items are retrieved as <see cref="T:System.Resources.ResXDataNode" /> objects. In this case, all resource nodes are returned regardless of type.</para> 435 </remarks> 436 <summary> 437 <attribution license="cc4" from="Microsoft" modified="false" /> 438 <para>Returns an enumerator for the current <see cref="T:System.Resources.ResXResourceReader" /> object.</para> 439 </summary> 440 <returns> 441 <attribution license="cc4" from="Microsoft" modified="false" /> 442 <para>An enumerator for the current <see cref="T:System.Resources.ResourceReader" /> object.</para> 443 </returns> 444 </Docs> 445 <AssemblyInfo> 446 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 447 <AssemblyVersion>2.0.0.0</AssemblyVersion> 448 </AssemblyInfo> 449 </Member> 450 <Member MemberName="GetMetadataEnumerator"> 451 <MemberSignature Language="C#" Value="public System.Collections.IDictionaryEnumerator GetMetadataEnumerator ();" /> 452 <MemberType>Method</MemberType> 453 <AssemblyInfo> 454 <AssemblyVersion>2.0.0.0</AssemblyVersion> 455 </AssemblyInfo> 456 <ReturnValue> 457 <ReturnType>System.Collections.IDictionaryEnumerator</ReturnType> 458 </ReturnValue> 459 <Parameters /> 460 <Docs> 461 <remarks> 462 <attribution license="cc4" from="Microsoft" modified="false" /> 463 <para>Resources are stored as name/value pairs in a resource file or stream. Design-time properties, which are called metadata, are stored in the resource file or stream along with runtime data resources. The <see cref="M:System.Resources.ResXResourceReader.GetMetadataEnumerator" /> method provides an <see cref="T:System.Collections.IDictionaryEnumerator" /> object that can retrieve the metadata from the resource file or stream associated with the current <see cref="T:System.Resources.ResXResourceReader" /> object. However, if the <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> property is set to true before you call <see cref="M:System.Resources.ResXResourceReader.GetMetadataEnumerator" />, no resource nodes are retrieved.</para> 464 </remarks> 465 <summary> 466 <attribution license="cc4" from="Microsoft" modified="false" /> 467 <para>Provides a dictionary enumerator that can retrieve the design-time properties from the current XML resource file or stream.</para> 468 </summary> 469 <returns> 470 <attribution license="cc4" from="Microsoft" modified="false" /> 471 <para>An enumerator for the metadata in a resource.</para> 472 </returns> 473 </Docs> 474 </Member> 475 <Member MemberName="System.Collections.IEnumerable.GetEnumerator"> 476 <MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" /> 477 <MemberType>Method</MemberType> 478 <AssemblyInfo> 479 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 480 <AssemblyVersion>2.0.0.0</AssemblyVersion> 481 </AssemblyInfo> 482 <ReturnValue> 483 <ReturnType>System.Collections.IEnumerator</ReturnType> 484 </ReturnValue> 485 <Parameters /> 486 <Docs> 487 <remarks> 488 <attribution license="cc4" from="Microsoft" modified="false" /> 489 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Resources.ResXResourceReader" /> instance is cast to an <see cref="T:System.Collections.IEnumerable" /> interface. To enumerate the resources in a .resx file, we recommend that you call the <see cref="M:System.Resources.ResXResourceReader.GetEnumerator" /> method, and then call the MoveNext method on the returned <see cref="T:System.Collections.IDictionaryEnumerator" /> object.</para> 490 </remarks> 491 <summary> 492 <attribution license="cc4" from="Microsoft" modified="false" /> 493 <para>Returns an enumerator for the current <see cref="T:System.Resources.ResXResourceReader" /> object. For a description of this member, see the <see cref="M:System.Collections.IEnumerable.GetEnumerator" /> method. </para> 494 </summary> 495 <returns> 496 <attribution license="cc4" from="Microsoft" modified="false" /> 497 <para>An enumerator that can iterate through the name/value pairs in the XML resource (.resx) stream or string associated with the current <see cref="T:System.Resources.ResXResourceReader" /> object.</para> 498 </returns> 499 </Docs> 500 </Member> 501 <Member MemberName="System.IDisposable.Dispose"> 502 <MemberSignature Language="C#" Value="void IDisposable.Dispose ();" /> 503 <MemberType>Method</MemberType> 504 <AssemblyInfo> 505 <AssemblyVersion>1.0.5000.0</AssemblyVersion> 506 <AssemblyVersion>2.0.0.0</AssemblyVersion> 507 </AssemblyInfo> 508 <ReturnValue> 509 <ReturnType>System.Void</ReturnType> 510 </ReturnValue> 511 <Parameters /> 512 <Docs> 513 <remarks> 514 <attribution license="cc4" from="Microsoft" modified="false" /> 515 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Resources.ResXResourceReader" /> instance is cast to an <see cref="T:System.IDisposable" /> interface. </para> 516 </remarks> 517 <summary> 518 <attribution license="cc4" from="Microsoft" modified="false" /> 519 <para>Releases the unmanaged resources used by the <see cref="T:System.Resources.ResXResourceReader" /> and optionally releases the managed resources. For a description of this member, see the <see cref="M:System.IDisposable.Dispose" /> method. </para> 520 </summary> 521 </Docs> 522 </Member> 523 <Member MemberName="UseResXDataNodes"> 524 <MemberSignature Language="C#" Value="public bool UseResXDataNodes { set; get; }" /> 525 <MemberType>Property</MemberType> 526 <AssemblyInfo> 527 <AssemblyVersion>2.0.0.0</AssemblyVersion> 528 </AssemblyInfo> 529 <ReturnValue> 530 <ReturnType>System.Boolean</ReturnType> 531 </ReturnValue> 532 <Docs> 533 <value>To be added.</value> 534 <remarks> 535 <attribution license="cc4" from="Microsoft" modified="false" /> 536 <para>You can set the <see cref="P:System.Resources.ResXResourceReader.UseResXDataNodes" /> property before you begin enumerating resources. By default, its value is false. </para> 537 </remarks> 538 <summary> 539 <attribution license="cc4" from="Microsoft" modified="false" /> 540 <para>Gets or sets a value that indicates whether <see cref="T:System.Resources.ResXDataNode" /> objects are returned when reading the current XML resource file or stream.</para> 541 </summary> 542 </Docs> 543 </Member> 544 </Members> 545</Type>