Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method deserializes all properties that are serialized as XML attributes.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub ReadPropertiesFromAttributes ( _
serializationContext As SerializationContext, _
element As ModelElement, _
reader As XmlReader _
)
protected virtual void ReadPropertiesFromAttributes(
SerializationContext serializationContext,
ModelElement element,
XmlReader reader
)
protected:
virtual void ReadPropertiesFromAttributes(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlReader^ reader
)
abstract ReadPropertiesFromAttributes :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
override ReadPropertiesFromAttributes :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
protected function ReadPropertiesFromAttributes(
serializationContext : SerializationContext,
element : ModelElement,
reader : XmlReader
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
The serialization context.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The in-memory ModelElement instance that will get the deserialized data.
- reader
Type: System.Xml.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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.