PresentationViewsSubjectSerializer.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 a ModelElement.
public:
override System::String ^ SerializeReference(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement);
public override string SerializeReference (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Microsoft.VisualStudio.Modeling.ModelElement targetElement);
override this.SerializeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ModelElement -> string
Public Overrides 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.