IsStartObject Method (XmlReader)
Collapse the table of content
Expand the table of content

DataContractSerializer.IsStartObject Method (XmlReader)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the XmlReader is positioned on an object that can be deserialized.

Namespace:  System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public override bool IsStartObject(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader
The XmlReader used to read the XML stream.

Return Value

Type: System.Boolean
true if the reader is at the start element of the stream to read; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft