Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

XmlSchemaProviderAttribute.IsAny Property

Definition

Namespace:
System.Xml.Serialization
Assemblies:
System.Xml.dll, System.Xml.ReaderWriter.dll
Assemblies:
netstandard.dll, System.Xml.ReaderWriter.dll
Assembly:
System.Xml.ReaderWriter.dll
Assembly:
System.Xml.dll
Assembly:
netstandard.dll
Source:
XmlSchemaProviderAttribute.cs
Source:
XmlSchemaProviderAttribute.cs
Source:
XmlSchemaProviderAttribute.cs
Source:
XmlSchemaProviderAttribute.cs
Source:
XmlSchemaProviderAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

public:
 property bool IsAny { bool get(); void set(bool value); };
public bool IsAny { get; set; }
member this.IsAny : bool with get, set
Public Property IsAny As Boolean

Property Value

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

Remarks

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.

Applies to


Feedback

Was this page helpful?