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