IncludeInSchema Property
Collapse the table of content
Expand the table of content

XmlTypeAttribute.IncludeInSchema Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether to include the type in XML schema documents.

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

'Declaration
Public Property IncludeInSchema As Boolean

Property Value

Type: System.Boolean
true to include the type in XML schema documents; otherwise, false.

Apply the XmlTypeAttribute to a class to specify the XML type's namespace, the XML type name, and whether to include the type in the XML schema document.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft