LinkConnectsToNodeSerializer::ReadTargetRolePlayer Method (SerializationContext^, ModelElement^, XmlReader^)
Visual Studio 2015
This method reads the target role player Nodes.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
protected: virtual void ReadTargetRolePlayer( SerializationContext^ serializationContext, ModelElement^ element, XmlReader^ reader )
Parameters
- serializationContext
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
Serialization context.
- element
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
In-memory LinkConnectsToNode instance that will link to the target NodeShape instance.
- reader
-
Type:
System.Xml::XmlReader^
XmlReader to read serialized data from.
The caller will guarantee that the reader is positioned at the open tag of the first child XML element. This method will read only one target role player instance. The method will skip any child XML element it encounters until it reaches: 1) The open tag of the target role player. 2) The end tag of the parent element (dangling relationship). 3) EOF (dangling relationship). After the call, the reader is positioned at: 1) The open tag of the next child element after the target role player. 2) The end tag of the parent element. 3) EOF.
Show: