Udostępnij za pośrednictwem


BrokeredMessage.IXmlSerializable.GetSchema Method

Definition

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

System.Xml.Schema.XmlSchema IXmlSerializable.GetSchema ();
abstract member System.Xml.Serialization.IXmlSerializable.GetSchema : unit -> System.Xml.Schema.XmlSchema
override this.System.Xml.Serialization.IXmlSerializable.GetSchema : unit -> System.Xml.Schema.XmlSchema
Function GetSchema () As XmlSchema Implements IXmlSerializable.GetSchema

Returns

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml method and consumed by the ReadXml method.

Implements

Applies to