DiscoveryDocument::CanRead Method (XmlReader^)
.NET Framework (current version)
Returns a value indicating whether the passed XmlReader can be deserialized into a DiscoveryDocument.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- xmlReader
-
Type:
System.Xml::XmlReader^
The XmlReader that is tested whether it can be deserialized into a DiscoveryDocument.
Return Value
Type: System::Booleantrue if XmlReader can be deserialized into a DiscoveryDocument; otherwise, false.
The following code example reads in the contents of a discovery document, if the CanRead property is true.
.NET Framework
Available since 1.1
Available since 1.1
Show: