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

Type() public method

Create an XmlQueryType from an XmlTypeCode and cardinality.
public Type ( XmlTypeCode code, XmlQueryCardinality card ) : XmlQueryType
code XmlTypeCode the type code of the item
card XmlQueryCardinality cardinality
return XmlQueryType
        public XmlQueryType Type(XmlTypeCode code, XmlQueryCardinality card) {
            return SequenceType.Create(ItemType.Create(code, false), 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, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable, XmlQueryCardinality card ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlTypeCode code, bool isStrict ) : XmlQueryType