System.Xml.Serialization.XmlSerializationReader: Method Members

The methods of System.Xml.Serialization.XmlSerializationReader are listed below. For a list of all members, see the XmlSerializationReader Members list.

See Also: Inherited members from System.Xml.Serialization.XmlSerializationGeneratedCode

Protected Methods

AddFixup(XmlSerializationReader.CollectionFixup)
Documentation for this section has not yet been entered.
AddFixup(XmlSerializationReader.Fixup)
Documentation for this section has not yet been entered.
AddReadCallback(string, string, Type, XmlSerializationReadCallback)

Stores an implementation of the System.Xml.Serialization.XmlSerializationReadCallback delegate and its input data for a later invocation.

AddTarget(string, object)

Stores an object that is being deserialized from a SOAP-encoded multiRef element for later access through the XmlSerializationReader.GetTarget(string) method.

CheckReaderCount(ref int, ref int)
Documentation for this section has not yet been entered.
CollapseWhitespace(string) : string

Removes all occurrences of white space characters from the beginning and end of the specified string.

CreateAbstractTypeException(string, string) : Exception

Creates an InvalidOperationException that indicates that an object being deserialized should be abstract.

CreateBadDerivationException(string, string, string, string, string, string) : Exception

Populates an object from its XML representation at the current location of the System.Xml.XmlReader, with an option to read the inner element.

CreateCtorHasSecurityException(string) : Exception

Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because the constructor throws a security exception.

CreateInaccessibleConstructorException(string) : Exception

Creates an InvalidOperationException that indicates that an object being deserialized cannot be instantiated because there is no constructor available.

CreateInvalidCastException(Type, object) : Exception

Creates an InvalidCastException that indicates that an explicit reference conversion failed.

CreateInvalidCastException(Type, object, string) : Exception

Creates an InvalidCastException that indicates that an explicit reference conversion failed.

CreateMissingIXmlSerializableType(string, string, string) : Exception

Creates an InvalidOperationException that indicates that a derived type that is mapped to an XML Schema data type cannot be located.

CreateReadOnlyCollectionException(string) : Exception

Creates an InvalidOperationException that indicates that a SOAP-encoded collection type cannot be modified and its values cannot be filled in.

CreateUnknownConstantException(string, Type) : Exception

Creates an InvalidOperationException that indicates that an enumeration value is not valid.

CreateUnknownNodeException() : Exception

Creates an InvalidOperationException that indicates that the current position of System.Xml.XmlReader represents an unknown XML node.

CreateUnknownTypeException(System.Xml.XmlQualifiedName) : Exception

Creates an InvalidOperationException that indicates that a type is unknown.

EnsureArrayIndex(Array, int, Type) : Array

Ensures that a given array, or a copy, is large enough to contain a specified index.

FixupArrayRefs(object)

Fills in the values of a SOAP-encoded array whose data type maps to a .NET Framework reference type.

GetArrayLength(string, string) : int

Gets the length of the SOAP-encoded array where the System.Xml.XmlReader is currently positioned.

GetNullAttr() : bool

Determines whether the XML element where the System.Xml.XmlReader is currently positioned has a null attribute set to the value true.

GetTarget(string) : object

Gets an object that is being deserialized from a SOAP-encoded multiRef element and that was stored earlier by XmlSerializationReader.AddTarget(string, object).

GetXsiType() : System.Xml.XmlQualifiedName

Gets the value of the xsi:type attribute for the XML element at the current location of the System.Xml.XmlReader.

abstract
InitCallbacks()

Initializes callback methods that populate objects that map to SOAP-encoded XML data.

abstract
InitIDs()

Stores element and attribute names in a System.Xml.NameTable object.

IsXmlnsAttribute(string) : bool

Determines whether an XML attribute name indicates an XML namespace.

ParseWsdlArrayType(System.Xml.XmlAttribute)

Sets the value of the XML attribute if it is of type arrayType from the Web Services Description Language (WSDL) namespace.

ReadElementQualifiedName() : System.Xml.XmlQualifiedName

Makes the System.Xml.XmlReader read the fully qualified name of the element where it is currently positioned.

ReadEndElement()

Makes the System.Xml.XmlReader read an XML end tag.

ReadNull() : bool

Instructs the System.Xml.XmlReader to read the current XML element if the element has a null attribute with the value true.

ReadNullableQualifiedName() : System.Xml.XmlQualifiedName

Instructs the System.Xml.XmlReader to read the fully qualified name of the element where it is currently positioned.

ReadNullableString() : string

Instructs the System.Xml.XmlReader to read a simple, text-only XML element that could be null.

ReadReference(out string) : bool
Documentation for this section has not yet been entered.
ReadReferencedElement() : object

Deserializes an object from a SOAP-encoded multiRef XML element.

ReadReferencedElement(string, string) : object

Deserializes an object from a SOAP-encoded multiRef XML element.

ReadReferencedElements()

Deserializes objects from the SOAP-encoded multiRef elements in a SOAP message.

ReadReferencingElement(out string) : object
Documentation for this section has not yet been entered.
ReadReferencingElement(string, string, out string) : object
Documentation for this section has not yet been entered.
ReadReferencingElement(string, string, bool, out string) : object
Documentation for this section has not yet been entered.
ReadSerializable(IXmlSerializable) : IXmlSerializable

Populates an object from its XML representation at the current location of the System.Xml.XmlReader.

ReadString(string) : string

Produces the result of a call to the System.Xml.XmlReader.ReadString method appended to the input value.

ReadString(string, bool) : string

Returns the result of a call to the System.Xml.XmlReader.ReadString method of the System.Xml.XmlReader class, trimmed of white space if needed, and appended to the input value.

ReadTypedNull(System.Xml.XmlQualifiedName) : object

Reads an XML element that allows null values (xsi:nil = 'true') and returns a generic Nullable`1 value.

ReadTypedPrimitive(System.Xml.XmlQualifiedName) : object

Gets the value of the XML node at which the System.Xml.XmlReader is currently positioned.

ReadXmlDocument(bool) : System.Xml.XmlDocument

Instructs the System.Xml.XmlReader to read an XML document root element at its current position.

ReadXmlNode(bool) : System.Xml.XmlNode

Instructs the System.Xml.XmlReader to read the XML node at its current position.

Referenced(object)

Stores an object to be deserialized from a SOAP-encoded multiRef element.

static
ResolveDynamicAssembly(string) : System.Reflection.Assembly

Gets a dynamically generated assembly by name.

ShrinkArray(Array, int, Type, bool) : Array

Ensures that a given array, or a copy, is no larger than a specified length.

ToByteArrayBase64(bool) : byte[]

Instructs the System.Xml.XmlReader to read the string value at its current position and return it as a base-64 byte array.

static
ToByteArrayBase64(string) : byte[]

Produces a base-64 byte array from an input string.

ToByteArrayHex(bool) : byte[]

Instructs the System.Xml.XmlReader to read the string value at its current position and return it as a hexadecimal byte array.

static
ToByteArrayHex(string) : byte[]

Produces a hexadecimal byte array from an input string.

static
ToChar(string) : char

Produces a char object from an input string.

static
ToDate(string) : DateTime

Produces a DateTime object from an input string.

static
ToDateTime(string) : DateTime

Produces a DateTime object from an input string.

static
ToEnum(string, Hashtable, string) : long

Produces a numeric enumeration value from a string that consists of delimited identifiers that represent constants from the enumerator list.

static
ToTime(string) : DateTime

Produces a DateTime from a string that represents the time.

static
ToXmlName(string) : string

Decodes an XML name.

static
ToXmlNCName(string) : string

Decodes an XML name.

static
ToXmlNmToken(string) : string

Decodes an XML name.

static
ToXmlNmTokens(string) : string

Decodes an XML name.

ToXmlQualifiedName(string) : System.Xml.XmlQualifiedName

Obtains an System.Xml.XmlQualifiedName from a name that may contain a prefix.

UnknownAttribute(object, System.Xml.XmlAttribute)

Raises an XmlSerializer.UnknownAttribute event for the current position of the System.Xml.XmlReader.

UnknownAttribute(object, System.Xml.XmlAttribute, string)

Raises an XmlSerializer.UnknownAttribute event for the current position of the System.Xml.XmlReader.

UnknownElement(object, System.Xml.XmlElement)

Raises an XmlSerializer.UnknownElement event for the current position of the System.Xml.XmlReader.

UnknownElement(object, System.Xml.XmlElement, string)

Raises an XmlSerializer.UnknownElement event for the current position of the System.Xml.XmlReader.

UnknownNode(object)

Raises an XmlSerializer.UnknownNode event for the current position of the System.Xml.XmlReader.

UnknownNode(object, string)

Raises an XmlSerializer.UnknownNode event for the current position of the System.Xml.XmlReader.

UnreferencedObject(string, object)

Raises an XmlSerializer.UnreferencedObject event for the current position of the System.Xml.XmlReader.