CategoriesDocumentFormatter.CanRead(XmlReader) 方法

定义

验证指定的 XmlReader 是否包含有效的 Atom 1.0 类别文档。Verifies whether the specified XmlReader contains a valid Atom 1.0 categories document.

public:
 abstract bool CanRead(System::Xml::XmlReader ^ reader);
public abstract bool CanRead (System.Xml.XmlReader reader);
abstract member CanRead : System.Xml.XmlReader -> bool
Public MustOverride Function CanRead (reader As XmlReader) As Boolean

参数

reader
XmlReader

要从其中进行读取的 XmlReaderThe XmlReader to read from.

返回

Boolean

一个值,指定 XmlReader 是否包含有效的 Atom 1.0 类别文档。A value that specifies whether the XmlReader contains a valid Atom 1.0 categories document.

适用于