DomainRelationshipXmlSerializer.SerializeReference 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.
Calculates a monikerized string reference to the given target role-player instance.
public:
virtual System::String ^ SerializeReference(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement);
public virtual string SerializeReference (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ModelElement targetElement);
abstract member SerializeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> string
override this.SerializeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> string
Public Overridable Function SerializeReference (serializationContext As SerializationContext, sourceElement As ModelElement, targetElement As ModelElement) As String
Parameters
- serializationContext
- SerializationContext
Serialization context.
- sourceElement
- ModelElement
Source side of reference relationship. The referenced target element will be serialized.
- targetElement
- ModelElement
Target side of relationship that will be serialized.
Returns
A monikerized string reference to target element.