XdmType.IsMatch Method (XPathItem, XmlSchemaSet)XdmType.IsMatch Method (XPathItem, XmlSchemaSet)XdmType::IsMatch Method (XPathItem^, XmlSchemaSet^)

Determines whether the specified item is match.

Syntax

Public MustOverride Function IsMatch( _
    item As System.Xml.XPath.XPathItem, _
    availableSchemas As System.Xml.Schema.XmlSchemaSet _
) As Boolean
public abstract bool IsMatch(
    System.Xml.XPath.XPathItem item,
    System.Xml.Schema.XmlSchemaSet availableSchemas
)
public:
virtual bool IsMatch(
    System.Xml.XPath::XPathItem^ item, 
    System.Xml.Schema::XmlSchemaSet^ availableSchemas
) abstract
 

Parameters

item

Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^

The item, or null a null reference (Nothing in Visual Basic) nullptr for the empty sequence..

availableSchemas

Type: System.Xml.Schema.XmlSchemaSetSystem.Xml.Schema.XmlSchemaSetSystem.Xml.Schema::XmlSchemaSet^

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the specified item match the current type; otherwise, falseFalsefalse.