DomainRelationshipXmlSerializer Class

 

Represents the base class for all generated domain serializers for domain relationships.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling::DomainClassXmlSerializer
    Microsoft.VisualStudio.Modeling::DomainRelationshipXmlSerializer
      Microsoft.VisualStudio.Modeling.Diagrams::LinkConnectsToNodeSerializer
      Microsoft.VisualStudio.Modeling.Diagrams::ParentShapeContainsNestedChildShapesSerializer
      Microsoft.VisualStudio.Modeling.Diagrams::ParentShapeHasRelativeChildShapesSerializer
      Microsoft.VisualStudio.Modeling.Diagrams::PresentationViewsSubjectSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::AttributedDomainElementHasAttributesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::AttributeHasParametersSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::BaseShapeMapReferencesBaseShapeSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ClassHasBaseClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ClassHasElementMergeDirectivesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ClassHasPropertiesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ClassIndexesElementMergeDirectiveSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::CompartmentMapHasElementsDisplayedPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::CompartmentMapHasPropertyDisplayedPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::CompartmentMapsReferToCompartmentSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ConnectorMapReferencesConnectorSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ConnectorMapReferencesRelationshipSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ConnectorToolReferencesConnectionBuilderSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::CustomPropertyDescriptorSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DecoratorMapHasPropertyDisplayedPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DecoratorMapReferencesDecoratorSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DesignerHasDiagramSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DiagramElementHasDecoratorsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DiagramElementMapHasDecoratorMapsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DiagramHasConnectorMapsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DiagramHasShapeMapsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DiagramRepresentsClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DomainClassHasCustomTypeDescriptorSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DomainPropertyHasElementNameProviderSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DomainRoleHasPropertyAttributesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DomainRoleImplementedByCollectionTypeSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DslEditorIdentifiesRootClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DslLibraryHasConnectionBuildersSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DslLibraryHasDslLibraryImportsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DslLibraryHasReferenceTypesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::DslLibraryHasTypesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ElementMergeDirectiveHasForwardingPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ElementMergeDirectiveHasLinkCreationPathsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::EnumerationHasAttributesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::EnumerationHasLiteralsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ExplorerBehaviorHasNodeSettingsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ExplorerHidesNodesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ExplorerNodeSettingsHasPropertyDisplayedPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ExplorerNodeSettingsReferencesClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ExplorerReferencesBehaviorSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::LinkConnectDirectiveHasSourceDirectivesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::LinkConnectDirectiveHasTargetDirectivesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::LinkConnectDirectiveReferencesDomainRelationshipSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ObjectToolReferencesClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::PathHasSegmentsSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::PathSegmentReferencesRoleSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::PropertyHasTypeSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::PropertyPathReferencesPropertySerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::RelationshipHasRolesSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::RoleHasRolePlayerSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::RolePlayerConnectDirectiveAcceptsClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::RolePlayerConnectDirectiveHasPathToRolePlayerSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ShapeMapHasParentElementPathSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::ShapeMapReferencesClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::VisibilityPropertyPathHasPropertyFiltersSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlClassDataAppliesToDomainClassSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlClassDataHasXmlElementDataSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlElementAppliesToDomainPropertySerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlRelationshipDataAppliesToDomainRelationshipSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlSerializationBehaviorHasXmlClassDataSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition::XmlSerializationDefinitionReferencesBehaviorSerializer
      Microsoft.VisualStudio.Modeling::ExtensionExtendsElementSerializer

public ref class DomainRelationshipXmlSerializer abstract : DomainClassXmlSerializer

NameDescription
System_CAPS_pubpropertyMonikerAttributeName

Gets the XML attribute name that contains the moniker string.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubpropertyMonikerTagName

Gets the XML tag name.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubpropertySerializesId

Exposes whether serializers derived from this class are serializing Id.

System_CAPS_pubpropertyUsesFullForm

Exposes whether serializers derived from this class are serializing this relationship in full form.

System_CAPS_pubpropertyXmlTagName

Gets the XML tag name that will be used in serialization.(Inherited from DomainClassXmlSerializer.)

NameDescription
System_CAPS_pubmethodCalculateQualifiedName(DomainXmlSerializerDirectory^, ModelElement^)

Calculates a reference to a handled model element instance.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodCreateInstance(SerializationContext^, XmlReader^, Partition^)

Creates a model element instance.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodCreateMonikerInstance(SerializationContext^, XmlReader^, ModelElement^, Guid, Partition^)

Creates a moniker instance.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetMonikerQualifier(DomainXmlSerializerDirectory^, ModelElement^)

Calculates the Qualifier for the moniker.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMonikerizeReference(SerializationContext^, ModelElement^, Guid, String^, Store^)

Calculates a Moniker, given a reference to a ModelElement.

System_CAPS_pubmethodRead(SerializationContext^, ModelElement^, XmlReader^)

Deserializes a given model element instance from XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodReadAdditionalElementData(SerializationContext^, ModelElement^, XmlReader^)

Read any additional element data that is associated with the element.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodReadElements(SerializationContext^, ModelElement^, XmlReader^)

This methods deserializes nested XML elements inside the passed-in element.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodReadPropertiesFromAttributes(SerializationContext^, ModelElement^, XmlReader^)

This method deserializes all properties that are serialized as XML attributes.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodReadRootElement(SerializationContext^, ModelElement^, XmlReader^, ISchemaResolver^)

Deserializes the root model element from XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodReset()

Returns the serializer to its initial state(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodSerializeReference(SerializationContext^, ModelElement^, ModelElement^)

Calculates a monikerized string reference to the given target role-player instance.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryCreateDerivedInstance(SerializationContext^, XmlReader^, Partition^)

With the given XmlReader, check if it is currently pointing to a serialized instance that derives from the ElementLink this serializer can handle. If so, create an instance of the derived ElementLink instance in the given Partition; otherwise return NULL.F1126

System_CAPS_pubmethodTryCreateInstance(SerializationContext^, XmlReader^, Partition^)

Checks if the given XmlReader is pointing to a serialized model element instance that this serializer can handle.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodTryCreateMonikerInstance(SerializationContext^, XmlReader^, ModelElement^, Guid, Partition^)

Checks if the given XmlReader is pointing to a monikerized instance of a model element that this serializer can handle.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodWrite(SerializationContext^, ModelElement^, XmlWriter^)

Serializes the model element instance associated with this serializer instance into XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodWrite(SerializationContext^, ModelElement^, XmlWriter^, RootElementSettings^)

Serializes the model element instance associated with this serializer instance into XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodWriteAdditionalElementData(SerializationContext^, ModelElement^, XmlWriter^)

Write any additional element data associated with the element(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodWriteElements(SerializationContext^, ModelElement^, XmlWriter^)

This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodWriteMoniker(SerializationContext^, ModelElement^, XmlWriter^, ModelElement^, DomainRelationshipXmlSerializer^)

Serializes, from a moniker, the model element instance that associated with this serializer instance into XML.(Inherited from DomainClassXmlSerializer.)

System_CAPS_protmethodWritePropertiesAsAttributes(SerializationContext^, ModelElement^, XmlWriter^)

Write all properties that need to be serialized as XML attributes.(Inherited from DomainClassXmlSerializer.)

System_CAPS_pubmethodWriteRootElement(SerializationContext^, ModelElement^, XmlWriter^)

Serializes the root model element instance associated with this serializer instance into XML.(Inherited from DomainClassXmlSerializer.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: