XmlSerializationWriter Members

Abstract class used for controlling serialization by the XmlSerializer class.

The following tables list the members exposed by the XmlSerializationWriter type.

  Name Description
Protected method XmlSerializationWriter Initializes a new instance of the XmlSerializationWriter class.
Top

  Name Description
Protected property EscapeName Gets or sets a value that indicates whether the EncodeName method is used to write valid XML.
Protected property Namespaces Gets or sets a list of XML qualified name objects that contain the namespaces and prefixes used to produce qualified names in XML documents.
Protected property Writer Gets the XmlWriter that is being used by the XmlSerializationWriter.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method AddWriteCallback Stores an implementation of the XmlSerializationWriteCallback delegate and the type it applies to, for a later invocation.
Protected method CreateChoiceIdentifierValueException Creates an InvalidOperationException that indicates an unexpected name for an element that adheres to an XML Schema choice element declaration.
Protected method CreateInvalidAnyTypeException Overloaded. Creates an InvalidOperationException.
Protected method CreateInvalidChoiceIdentifierValueException Creates an InvalidOperationException that indicates a failure while writing an array where an XML Schema choice element declaration is applied.
Protected method CreateInvalidEnumValueException Creates an InvalidOperationException for an invalid enumeration value.
Protected method CreateMismatchChoiceException Creates an InvalidOperationException that indicates that a value for an XML element does not match an enumeration type.
Protected method CreateUnknownAnyElementException Creates an InvalidOperationException that indicates that an XML element that should adhere to the XML Schema any element declaration cannot be processed.
Protected method CreateUnknownTypeException Overloaded. Creates an InvalidOperationException that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Static FromByteArrayBase64 Processes a base-64 byte array.
Protected method Static FromByteArrayHex Produces a string from an input hexadecimal byte array.
Protected method Static FromChar Produces a string from an input Char.
Protected method Static FromDate Produces a string from a DateTime object.
Protected method Static FromDateTime Produces a string from an input DateTime.
Protected method Static FromEnum Overloaded. Takes a numeric enumeration value and returns a string that consists of delimited identifiers that represent the enumeration members that have been set.
Protected method Static FromTime Produces a string from a DateTime object.
Protected method Static FromXmlName Encodes a valid XML name by replacing characters that are not valid with escape sequences.
Protected method Static FromXmlNCName Encodes a valid XML local name by replacing characters that are not valid with escape sequences.
Protected method Static FromXmlNmToken Encodes an XML name.
Protected method Static FromXmlNmTokens Encodes a space-delimited sequence of XML names into a single XML name.
Protected method FromXmlQualifiedName Overloaded. Produces an XML qualified name, with invalid characters replaced by escape sequences.
Protected method InitCallbacks Initializes instances of the XmlSerializationWriteCallback delegate to serialize SOAP-encoded XML data.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Static ResolveDynamicAssembly Gets a dynamically generated assembly by name.
Protected method TopLevelElement Initializes object references only while serializing a SOAP-encoded SOAP message.
Protected method WriteAttribute Overloaded. Instructs an XmlNode object to write an XML attribute that has no namespace specified for its name.
Protected method WriteElementEncoded Writes an XML node object within the body of a named XML element.
Protected method WriteElementLiteral Instructs an XmlWriter object to write an XmlNode object within the body of a named XML element.
Protected method WriteElementQualifiedName Overloaded. Writes an XML element with a specified qualified name in its body.
Protected method WriteElementString Overloaded. Writes an opening element tag, including any attributes.
Protected method WriteElementStringRaw Overloaded. Writes an XML element with a specified value in its body.
Protected method WriteEmptyTag Overloaded. Writes an XML element whose body is empty.
Protected method WriteEndElement Overloaded. Writes a <closing> element tag.
Protected method WriteId Writes an id attribute that appears in a SOAP-encoded multiRef element.
Protected method WriteNamespaceDeclarations Writes namespace declaration attributes.
Protected method WriteNullableQualifiedNameEncoded Writes an XML element whose body contains a valid XML qualified name. XmlWriter inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullableQualifiedNameLiteral Writes an XML element whose body contains a valid XML qualified name. XmlWriter inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullableStringEncoded Writes an XML element that contains a string as the body. XmlWriter inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullableStringEncodedRaw Overloaded. Writes a byte array as the body of an XML element. XmlNode inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullableStringLiteral Writes an XML element that contains a string as the body. XmlWriter inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullableStringLiteralRaw Overloaded. Writes a byte array as the body of an XML element. XmlNode inserts an xsi:nil='true' attribute if the string's value is a null reference (Nothing in Visual Basic).
Protected method WriteNullTagEncoded Overloaded. Instructs XmlNode to write an XML element with an xsi:nil='true' attribute.
Protected method WriteNullTagLiteral Overloaded. Instructs XmlNode to write an XML element with an xsi:nil='true' attribute.
Protected method WritePotentiallyReferencingElement Overloaded. Writes a SOAP message XML element that can contain a reference to a <multiRef> XML element for a given object.
Protected method WriteReferencedElements Serializes objects into SOAP-encoded multiRef XML elements in a SOAP message.
Protected method WriteReferencingElement Overloaded. Writes a SOAP message XML element that contains a reference to a multiRef element for a given object.
Protected method WriteRpcResult Writes a SOAP 1.2 RPC result element with a specified qualified name in its body.
Protected method WriteSerializable Overloaded. Instructs XmlNode to write an object that uses custom XML formatting as an XML element.
Protected method WriteStartDocument Writes the XML declaration if the writer is positioned at the start of an XML document.
Protected method WriteStartElement Overloaded. Instructs XmlNode to write an opening element tag, including any attributes.
Protected method WriteTypedPrimitive Writes an XML element whose text body is a value of a simple XML Schema data type.
Protected method WriteValue Overloaded. Instructs XmlNode to write the specified value.
Protected method WriteXmlAttribute Overloaded. Instructs XmlNode to write an XML attribute.
Protected method WriteXsiType Writes an xsi:type attribute for an XML element that is being serialized into a document.
Top

Community Additions

ADD
Show: