DslLibrarySerializerBase.ReadPropertiesFromAttributes Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)


Protected Overrides Sub ReadPropertiesFromAttributes ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    reader As XmlReader _
protected override void ReadPropertiesFromAttributes(
    SerializationContext serializationContext,
    ModelElement element,
    XmlReader reader
virtual void ReadPropertiesFromAttributes(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlReader^ reader
) override
abstract ReadPropertiesFromAttributes : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        reader:XmlReader -> unit  
override ReadPropertiesFromAttributes : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        reader:XmlReader -> unit
protected override function ReadPropertiesFromAttributes(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    reader : XmlReader


  • reader
    Type: XmlReader

    XmlReader to read serialized data from.


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.

.NET Framework Security

See Also


DslLibrarySerializerBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace