System.Xml.Schema.DatatypeImplementation.DeriveByUnion C# (CSharp) Méthode

DeriveByUnion() static private méthode

static private DeriveByUnion ( XmlSchemaSimpleType types, XmlSchemaType schemaType ) : DatatypeImplementation
types XmlSchemaSimpleType
schemaType XmlSchemaType
Résultat DatatypeImplementation
        internal new static DatatypeImplementation DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType)
        {
            DatatypeImplementation dt = new Datatype_union(types);
            dt._baseType = s_anySimpleType; //Base type of a union is anySimpleType
            dt._variety = XmlSchemaDatatypeVariety.Union;
            dt._parentSchemaType = schemaType;
            return dt;
        }

Usage Example

Exemple #1
0
 internal static XmlSchemaDatatype DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType)
 {
     return(DatatypeImplementation.DeriveByUnion(types, schemaType));
 }
All Usage Examples Of System.Xml.Schema.DatatypeImplementation::DeriveByUnion