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

Type() public static method

Create a Node XmlQueryType having an XSD content type.
public static Type ( XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType
kind XPathNodeType
nameTest XmlQualifiedNameTest
contentType System.Xml.Schema.XmlSchemaType content type of the node
isNillable bool
return XmlQueryType
        public static XmlQueryType Type(XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable) {
            return ItemType.Create(NodeKindToTypeCode[(int)kind], nameTest, contentType, isNillable);
        }

Same methods

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, XmlQueryCardinality card ) : XmlQueryType
XmlQueryTypeFactory::Type ( XmlTypeCode code, bool isStrict ) : XmlQueryType