LabelShapeSerializer.ReadPropertiesFromAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method deserializes all properties that are serialized as XML attributes.
protected:
override void ReadPropertiesFromAttributes(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlReader ^ reader);
protected override void ReadPropertiesFromAttributes (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlReader reader);
override this.ReadPropertiesFromAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
Protected Overrides Sub ReadPropertiesFromAttributes (serializationContext As SerializationContext, element As ModelElement, reader As XmlReader)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
In-memory LabelShape 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.