NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextReader.XmlResolver

Gets or sets the XmlResolver used for resolving URLs and/or PUBLIC Id's used in external DTDs, parameter entities, or XML schemas referenced in namespaces.

[Visual Basic]
Public Property XmlResolver As XmlResolver
[C#]
public XmlResolver XmlResolver {get; set;}
[C++]
public: __property XmlResolver* get_XmlResolver();
public: __property void set_XmlResolver(XmlResolver*);
[JScript]
public function get XmlResolver() : XmlResolver;
public function set XmlResolver(XmlResolver);

Property Value

The XmlResolver to use.

Remarks

This is only called if the DTDValidation or SchemaValidation flags are set. It is called the first time a reference to an external entity is found.

In the SchemaValidation case the UriResolver is also called before the first Read() to see if there is a schema for the null namespace.

See Also

XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace