FastInfoset.NET Class Reference for .NET
WriteValue(Object) Method






The object representing the value to write.

Writes the value.

Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Sub WriteValue( _
   ByVal value As System.Object _
) 
'Usage
 
Dim instance As XmlFastInfosetWriter
Dim value As System.Object
 
instance.WriteValue(value)
public override void WriteValue( 
   System.object value
)
public procedure WriteValue( 
    value: System.TObject
); override; 
public override function WriteValue( 
   value : System.Object
);
public: void WriteValue( 
   System.Object* value
) override 
public:
void WriteValue( 
   System.Object^ value
) override 

Parameters

value
The object representing the value to write.
Remarks

This method takes the common language runtime (CLR) object and converts the input value to the desired output type using the FastInfoset encoding rules. If the type cannot not be represented as a binary encoded value it's serialized as a string according to the XML Schema definition language (XSD) data type conversion rules.

If WriteValue is called multiple times in succession, values are written one next to the other without being delimited by white space. To write a list of values, call the WriteValue(Object) method using an array of values as parameter.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Overload List
Base Implementation in WriteValue(Object)

Send Feedback