IsAny Property
Collapse the table of content
Expand the table of content

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

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

public function get IsAny () : boolean

public function set IsAny (value : boolean)

Not applicable.

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 Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft