﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ResXResourceWriter" FullName="System.Resources.ResXResourceWriter"><TypeSignature Language="C#" Value="public class ResXResourceWriter : System.Resources.IResourceWriter" /><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.IResourceWriter</InterfaceName></Interface></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Resources.ResXResourceWriter" /> writes resources in XML format. To write a binary resource file, use <see cref="T:System.Resources.ResourceWriter" />.</para><para>Resources are specified as name/value pairs using the <see cref="M:System.Resources.ResXResourceWriter.AddResource(System.String,System.Byte[])" /> method. Resource names are case-sensitive when used for lookups; but to more easily support authoring tools and help eliminate bugs, <see cref="T:System.Resources.ResXResourceWriter" /> does not allow a.resx file to have names that vary only by case.</para><para>To create a.resx file, create a <see cref="T:System.Resources.ResXResourceWriter" /> with a unique file name, call <see cref="M:System.Resources.ResXResourceWriter.AddResource(System.String,System.Byte[])" /> at least once, call <see cref="M:System.Resources.ResXResourceWriter.Generate" /> to write the resources file to disk, and then call <see cref="M:System.Resources.ResXResourceWriter.Close" /> to close the file. Calling <see cref="M:System.Resources.ResXResourceWriter.Close" /> will implicitly <see cref="M:System.Resources.ResXResourceWriter.Generate" /> the file if required.</para><para>The resources are not necessarily written in the same order they were added.</para><para>For more information on the format of a.resx file, see <format type="text/html"><a href="168f941a-2b84-43f8-933f-cf4a8548d824">Working with .resx Files Programmatically</a></format>.</para><block subset="none" type="note"><para>This 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" /> is thrown when either the immediate caller or the derived class does not have full-trust permission. For details 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>Writes resources in an XML resource (.resx) file or an output stream.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ResXResourceWriter (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.ResXResourceWriter.Close" /> method closes the stream you specify as a parameter. To write the resource to the stream without closing the stream, you must use the <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceWriter" /> class that writes the resources to the specified stream object.</para></summary><param name="stream"><attribution license="cc4" from="Microsoft" modified="false" />The output stream. </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 ResXResourceWriter (System.IO.TextWriter textWriter);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="textWriter" Type="System.IO.TextWriter" /></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.ResXResourceWriter" /> class that writes to the specified <see cref="T:System.IO.TextWriter" /> object.</para></summary><param name="textWriter"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.IO.TextWriter" /> object to send the output to. </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 ResXResourceWriter (string fileName);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="fileName" Type="System.String" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor creates <paramref name="filename" /> if it does not exist and overwrites it if it does. If <paramref name="filename" /> includes a directory path, the full path must exist or the constructor throws a <see cref="T:System.IO.DirectoryNotFoundException" /> exception. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Resources.ResXResourceWriter" /> class that writes the resources to the specified file.</para></summary><param name="fileName"><attribution license="cc4" from="Microsoft" modified="false" />The output file name. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AddAlias"><MemberSignature Language="C#" Value="public virtual void AddAlias (string aliasName, System.Reflection.AssemblyName assemblyName);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="aliasName" Type="System.String" /><Parameter Name="assemblyName" Type="System.Reflection.AssemblyName" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Resources whose values are from an aliased assembly are automatically added to the list of aliases. The resource is not written until <see cref="M:System.Resources.ResXResourceWriter.Generate" /> is called.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified alias to a list of aliases. </para></summary><param name="aliasName"><attribution license="cc4" from="Microsoft" modified="false" />The name of the alias.</param><param name="assemblyName"><attribution license="cc4" from="Microsoft" modified="false" />The name of the assembly represented by <paramref name="aliasName" />.</param></Docs></Member><Member MemberName="AddMetadata"><MemberSignature Language="C#" Value="public void AddMetadata (string name, byte[] value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.Byte[]" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a design-time property whose value is specifed as a byte array to the list of resources to write.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of a property.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A byte array containing the value of the property to add.</param></Docs></Member><Member MemberName="AddMetadata"><MemberSignature Language="C#" Value="public void AddMetadata (string name, object value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a design-time property whose value is specified as an object to the list of resources to write.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of a property.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />An object that is the value of the property to add.</param></Docs></Member><Member MemberName="AddMetadata"><MemberSignature Language="C#" Value="public void AddMetadata (string name, string value);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.String" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a design-time property whose value is specified as a string to the list of resources to write.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of a property.</param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A string that is the value of the property to add.</param></Docs></Member><Member MemberName="AddResource"><MemberSignature Language="C#" Value="public void AddResource (System.Resources.ResXDataNode node);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="node" Type="System.Resources.ResXDataNode" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a named resource specified in a <see cref="T:System.Resources.ResXDataNode" /> object to the list of resources to write.</para></summary><param name="node"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Resources.ResXDataNode" /> object that contains a resource name/value pair.</param></Docs></Member><Member MemberName="AddResource"><MemberSignature Language="C#" Value="public void AddResource (string name, byte[] value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.Byte[]" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The resource is not written until <see cref="M:System.Resources.ResXResourceWriter.Generate" /> is called.</para><para>The resource is serialized and stored in a binary format.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a named resource specified as a byte array to the list of resources to write.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of the resource. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the resource to add as an 8-bit unsigned integer array. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AddResource"><MemberSignature Language="C#" Value="public void AddResource (string name, object value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The resource is not written until <see cref="M:System.Resources.ResXResourceWriter.Generate" /> is called. The resource that was added must be serializable.</para><para>If the resource being added is a string, it is written as a string; otherwise, the resource is serialized and stored in a binary format.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a named resource specified as an object to the list of resources to write.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of the resource. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the resource. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AddResource"><MemberSignature Language="C#" Value="public void AddResource (string name, string value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="name" Type="System.String" /><Parameter Name="value" Type="System.String" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The resource is not written until <see cref="M:System.Resources.ResXResourceWriter.Generate" /> is called.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds a string resource to the resources.</para></summary><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of the resource. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The value of the resource. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></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>To be added.</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="BinSerializedObjectMimeType"><MemberSignature Language="C#" Value="public static readonly string BinSerializedObjectMimeType;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the default content type for a binary object. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ByteArraySerializedObjectMimeType"><MemberSignature Language="C#" Value="public static readonly string ByteArraySerializedObjectMimeType;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the default content type for a byte array object. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></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 this method is the equivalent of calling <see cref="M:System.Resources.ResXResourceWriter.Dispose" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Releases all resources used by the <see cref="T:System.Resources.ResXResourceWriter" />.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="DefaultSerializedObjectMimeType"><MemberSignature Language="C#" Value="public static readonly string DefaultSerializedObjectMimeType;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the default content type for an object. This field is read-only.</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="public virtual void Dispose ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Resources.ResXResourceWriter.Dispose" /> method calls the <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method, if necessary, before releasing managed and unmanaged system resources.</para><para>Calling <see cref="M:System.Resources.ResXResourceWriter.Dispose" /> allows the system resources used by the <see cref="T:System.Resources.ResXResourceWriter" /> to be reallocated for other purposes. For more information about <see cref="M:System.Resources.ResXResourceWriter.Dispose" />, see <format type="text/html"><a href="a17b0066-71c2-4ba4-9822-8e19332fc213">Cleaning Up Unmanaged Resources</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Releases all resources used by the <see cref="T:System.Resources.ResXResourceWriter" />.</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>The <see cref="M:System.Resources.ResXResourceWriter.Dispose(System.Boolean)" /> method calls the <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method, if necessary, before releasing managed and unmanaged system resources.</para><para>This method is called by the public <see cref="M:System.Resources.ResXResourceWriter.Dispose" />  method and the <see cref="M:System.Object.Finalize" /> method. Dispose() invokes the protected Dispose(Boolean) method with the <paramref name="disposing" /> parameter set to true. <see cref="M:System.Object.Finalize" /> invokes Dispose 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.ResXResourceWriter" /> 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.ResXResourceWriter" /> 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="~ResXResourceWriter ();" /><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="Generate"><MemberSignature Language="C#" Value="public void Generate ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method writes the resources to the output file or stream. If you want to write the resources as well as close the output file or stream, call the <see cref="M:System.Resources.ResXResourceWriter.Close" /> method. </para><para>The <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method can be called only once. After calling the <see cref="M:System.Resources.ResXResourceWriter.Generate" /> method, all <see cref="T:System.Resources.IResourceWriter" /> methods other than <see cref="M:System.Resources.ResXResourceWriter.Close" /> will throw an exception.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Writes all resources added by the <see cref="M:System.Resources.ResXResourceWriter.AddResource(System.String,System.Byte[])" /> method to the output file or stream.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ResMimeType"><MemberSignature Language="C#" Value="public static readonly string ResMimeType;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the content type of an XML resource. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ResourceSchema"><MemberSignature Language="C#" Value="public static readonly string ResourceSchema = null;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><MemberValue>null</MemberValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The schema provides details on how to encode the resources based on the type of resource being written.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the schema to use in writing the XML file. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SoapSerializedObjectMimeType"><MemberSignature Language="C#" Value="public static readonly string SoapSerializedObjectMimeType;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the content type for a SOAP object. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Version"><MemberSignature Language="C#" Value="public static readonly string Version;" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies the version of the schema that the XML output conforms to. This field is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>