Writes the value of an object to the specified stream. In general, serializes the object using the specified object formatter. However, for certain types, writes a more compact form of the object. For instance, writes a compact form of Int32 value. The method recognizes most of the primitive types and certain value classes.
[Visual Basic] Overridable Protected Sub WriteValue( _ ByVal type As Type, _ ByVal value As Object, _ ByVal writer As BinaryWriter, _ ByVal objFormatter As IFormatter _ ) [C#] protected virtual void WriteValue( Type type, object value, BinaryWriter writer, IFormatter objFormatter ); [C++] protected: virtual void WriteValue( Type* type, Object* value, BinaryWriter* writer, IFormatter* objFormatter ); [JScript] protected function WriteValue( type : Type, value : Object, writer : BinaryWriter, objFormatter : IFormatter );
ResourceWriter Class | ResourceWriter Members | System.Resources Namespace