DomainClassXmlSerializer.ReadPropertiesFromAttributes Method

Definition

This method deserializes all properties that are serialized as XML attributes.

protected:
 virtual void ReadPropertiesFromAttributes(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlReader ^ reader);
protected virtual void ReadPropertiesFromAttributes (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlReader reader);
abstract member ReadPropertiesFromAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
override this.ReadPropertiesFromAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
Protected Overridable Sub ReadPropertiesFromAttributes (serializationContext As SerializationContext, element As ModelElement, reader As XmlReader)

Parameters

serializationContext
SerializationContext

Serialization context.

element
ModelElement

In-memory ModelElement instance that will get the deserialized data.

reader
XmlReader

XmlReader to read serialized data from.

Remarks

Because this method only handles properties serialized as XML attributes, the passed-in reader shouldn't be moved inside this method. The caller will guarantee that the reader is positioned on the open XML tag of the current element being deserialized.

Applies to