Table of Contents

Method Supports

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Supports(string, string)

Test if the DOM implementation implements a specific feature.

public override bool Supports(string feature, string version)

Parameters

feature string

The package name of the feature to test. This name is not case-sensitive.

version string

This is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true.

Returns

bool

true if the feature is implemented in the specified version; otherwise, false. The following table describes the combinations that return true.Feature Version XML 1.0 XML 2.0