System.Xml.Xsl.XmlQueryTypeFactory.Type C# (CSharp) Method

Type() public method

Create an XmlQueryType having an XSD name test, content type, nillable and cardinality.
public Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable, XmlQueryCardinality card ) : XmlQueryType
code XmlTypeCode unless code is Document, Element, or Attribute, "contentType" is ignored
nameTest XmlQualifiedNameTest name test on the node
contentType System.Xml.Schema.XmlSchemaType content type of the node
isNillable bool nillable property
card XmlQueryCardinality cardinality
return XmlQueryType
        public XmlQueryType Type(XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable, XmlQueryCardinality card) {
            return SequenceType.Create(ItemType.Create(code, nameTest, contentType, isNillable), card);
        }

Same methods

XmlQueryTypeFactory::Type ( XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlSchemaSimpleType schemaType, bool isStrict ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlTypeCode code, XmlQueryCardinality card ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlTypeCode code, bool isStrict ) : XmlQueryType