XmlPreloadedResolver.SupportsType Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns true if the resolver’s GetEntity method can resolve the provided URI into an instance of the provided Type.

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

Syntax

'Declaration
Public Overrides Function SupportsType ( _
    absoluteUri As Uri, _
    type As Type _
) As Boolean
public override bool SupportsType(
    Uri absoluteUri,
    Type type
)

Parameters

Return Value

Type: System.Boolean
True if the resolver’s GetEntity method can resolve the provided URI into an instance of the provided Type; otherwise false.

Exceptions

Exception Condition
ArgumentNullException

uri is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.