XmlResolver.SupportsType Method (Uri, Type)

 

Enables the resolver to return types other than System.IO.Stream.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual bool SupportsType(
	Uri absoluteUri,
	Type type
)

Parameters

absoluteUri
Type: System.Uri

The URI.

type
Type: System.Type

The type to return.

Return Value

Type: System.Boolean

true if the type is supported; otherwise, false.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: