Bewerken

Delen via


XmlSchemaProviderAttribute.IsAny Property

Definition

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