When applied to a type that implements the IXmlSerializable interface, stores the name of a static method of the type that returns an XML schema and a XmlQualifiedName (or XmlSchemaType for anonymous types) that controls the serialization of the type.
The target class of the attribute must implement the IXmlSerializable interface.
An anonymous complex type cannot be created using a method that returns XmlQualifiedName. Because an anonymous type has no name, and you cannot add an anonymous type to a schema, the anonymous type must be returned as an XmlSchemaType.
In Silverlight 5, schema information is not used. However, the XmlSchemaProviderAttribute is still relevant, because, when IsAny is set to true or when the static method returns Nothing, the serializer will treat the type differently.