ExtensionExtendsElementSerializer.ReadTargetRolePlayer 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 reads the target role player ModelElement.
protected:
virtual void ReadTargetRolePlayer(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlReader ^ reader);
protected virtual void ReadTargetRolePlayer (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlReader reader);
abstract member ReadTargetRolePlayer : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
override this.ReadTargetRolePlayer : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
Protected Overridable Sub ReadTargetRolePlayer (serializationContext As SerializationContext, element As ModelElement, reader As XmlReader)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
In-memory ExtensionExtendsElement instance that will link to the target ModelElement instance.
- reader
- XmlReader
XmlReader to read serialized data from.
Remarks
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.