ServiceDocumentFormatter.CanRead Method (XmlReader)

 

Verifies whether the specified XmlReader contains a valid service document.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract bool CanRead(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XML reader to check.

Return Value

Type: System.Boolean

true, if the XML reader contains a valid service document, otherwise false.

.NET Framework
Available since 3.5
Return to top
Show: