XmlMemberMapping.Any Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether the .NET Framework type maps to an XML element or attribute of any type.

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

public bool Any { get; }

Property Value

Type: System.Boolean

true, if the type maps to an XML any element or attribute; otherwise, false.

A true value for the Any property corresponds to the <any> element declaration and the anyAttribute attribute declaration in an XML Schema document.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: