DiagramElementMapHasDecoratorMapsSerializer.ReadTargetRolePlayer Method
This method reads the target role player DecoratorMap.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Protected Overridable Sub ReadTargetRolePlayer ( _
serializationContext As SerializationContext, _
element As ModelElement, _
reader As XmlReader _
)
protected virtual void ReadTargetRolePlayer(
SerializationContext serializationContext,
ModelElement element,
XmlReader reader
)
protected:
virtual void ReadTargetRolePlayer(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlReader^ reader
)
abstract ReadTargetRolePlayer :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
override ReadTargetRolePlayer :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
protected function ReadTargetRolePlayer(
serializationContext : SerializationContext,
element : ModelElement,
reader : XmlReader
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerialization context.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementIn-memory DiagramElementMapHasDecoratorMaps instance that will link to the target DecoratorMap instance.
reader
Type: System.Xml.XmlReaderXmlReader 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.
.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.