XmlSchemaProviderAttribute.IsAny Property

 

Gets or sets a value that determines whether the target class is a wildcard, or that the schema for the class has contains only an xs:any element.

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

public bool IsAny { get; set; }

Property Value

Type: System.Boolean

true, if the class is a wildcard, or if the schema contains only the xs:any element; otherwise, false.

The target class of the attribute can be any class. This can be achieved in the following ways:

  • The method named by the attribute can return null.

  • Set the value of this property to true to prevent the method from being called.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: