XmlSchemaAttribute.SchemaType Property

Definition

Gets or sets the attribute type to a simple type.

C#
public System.Xml.Schema.XmlSchemaSimpleType? SchemaType { get; set; }
C#
public System.Xml.Schema.XmlSchemaSimpleType SchemaType { get; set; }

Property Value

The simple type defined in this schema.

Remarks

SchemaTypeName and SchemaType properties cannot be set at the same time.

Applies to