This documentation is archived and is not being maintained.

XmlSchemaProviderAttribute.IsAny Property

Note: This property is new in the .NET Framework version 2.0.

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 */
public boolean get_IsAny ()

/** @property */
public void set_IsAny (boolean value)

public function get IsAny () : boolean

public function set IsAny (value : boolean)

Property Value

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 a null reference (Nothing in Visual Basic).

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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: