Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSchemaType::GetBuiltInSimpleType Method (XmlTypeCode)

 

Returns an XmlSchemaSimpleType that represents the built-in simple type of the specified simple type.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
static XmlSchemaSimpleType^ GetBuiltInSimpleType(
	XmlTypeCode typeCode
)

Parameters

typeCode
Type: System.Xml.Schema::XmlTypeCode

One of the XmlTypeCode values representing the simple type.

Return Value

Type: System.Xml.Schema::XmlSchemaSimpleType^

The XmlSchemaSimpleType that represents the built-in simple type.

You cannot directly serialize the built-in type. If you need to serialize the type, create a new simple type which derives from the built-in type and serialize the simple type.

The following example shows how to create the type and add it to the schema.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft