XmlSchemaElement.SchemaType Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le type de l’élément. Il peut s’agir d’un type complexe ou d’un type simple.
public:
property System::Xml::Schema::XmlSchemaType ^ SchemaType { System::Xml::Schema::XmlSchemaType ^ get(); void set(System::Xml::Schema::XmlSchemaType ^ value); };
public System.Xml.Schema.XmlSchemaType? SchemaType { get; set; }
public System.Xml.Schema.XmlSchemaType SchemaType { get; set; }
member this.SchemaType : System.Xml.Schema.XmlSchemaType with get, set
Public Property SchemaType As XmlSchemaType
Valeur de propriété
Type de l’élément.
Remarques
Pour déclarer un élément à l’aide d’une définition ou simpleType d’une existantecomplexType, utilisez la SchemaType propriété pour spécifier le type existant. Si RefName l’attribut est présent, complexType, , simpleType, key, keyrefet les éléments et uniquenillabledefaultfixedform , , et blockSchemaTypeles attributs ne peuvent pas être présents.