XmlSchemaSimpleType.Content Property

Definition

C#
public System.Xml.Schema.XmlSchemaSimpleTypeContent? Content { get; set; }
C#
public System.Xml.Schema.XmlSchemaSimpleTypeContent Content { get; set; }

Property Value

One of XmlSchemaSimpleTypeUnion, XmlSchemaSimpleTypeList, or XmlSchemaSimpleTypeRestriction.

Remarks

The following table shows the ways in which simple types can be defined.

Simple type Description
Restriction Restricts the range of values for the simple type to a subset of those for the inherited simple type.
List Defines a simple type that contains a white space-separated list of values of an inherited simple type.
Union Defines a simple type that contains a union of the values of two or more inherited simple types.

Applies to

Produkt Wersje
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1