BinaryLinkShapeSerializer Class
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementSerializer
Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementSerializer
Microsoft.VisualStudio.Modeling.Diagrams.LinkShapeSerializer
Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeSerializerBase
Microsoft.VisualStudio.Modeling.Diagrams.BinaryLinkShapeSerializer
Microsoft.VisualStudio.Modeling.Diagrams.GenericLinkShapeSerializer
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Class BinaryLinkShapeSerializer _
Inherits BinaryLinkShapeSerializerBase
public class BinaryLinkShapeSerializer : BinaryLinkShapeSerializerBase
public ref class BinaryLinkShapeSerializer : public BinaryLinkShapeSerializerBase
type BinaryLinkShapeSerializer =
class
inherit BinaryLinkShapeSerializerBase
end
public class BinaryLinkShapeSerializer extends BinaryLinkShapeSerializerBase
The BinaryLinkShapeSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BinaryLinkShapeSerializer | BinaryLinkShapeSerializer Constructor |
Top
Properties
Name | Description | |
---|---|---|
MonikerAttributeName | (Inherited from BinaryLinkShapeSerializerBase.) | |
MonikerTagName | (Inherited from BinaryLinkShapeSerializerBase.) | |
XmlTagName | (Inherited from BinaryLinkShapeSerializerBase.) |
Top
Methods
Name | Description | |
---|---|---|
CalculateQualifiedName | This method calculates a moniker to a given BinaryLinkShape instance. (Inherited from BinaryLinkShapeSerializerBase.) | |
CreateInstance | Creates an instance of BinaryLinkShape based on the tag currently pointed by the reader. Does not move the reader. (Inherited from BinaryLinkShapeSerializerBase.) | |
CreateMonikerInstance | Creates a Moniker of BinaryLinkShape based on the tag currently pointed by the reader. Does not move the reader. (Inherited from BinaryLinkShapeSerializerBase.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMonikerQualifier | Returns the qualifier of the moniker, if the domain class is serialized using standard /qualifier/key mechanism; otherwise, returns the empty string. (Inherited from BinaryLinkShapeSerializerBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read | BinaryLinkShape is abstract and cannot be instantiated, so this method throws NotSupportedException. (Inherited from BinaryLinkShapeSerializerBase.) | |
ReadAdditionalElementData | Read any additional element data that is associated with the element. (Inherited from DomainClassXmlSerializer.) | |
ReadElements | Reads in child elements. (Overrides LinkShapeSerializer.ReadElements(SerializationContext, ModelElement, XmlReader).) | |
ReadLinkShapeChildElements | Read child elements defined on LinkShape. (Inherited from LinkShapeSerializer.) | |
ReadPropertiesFromAttributes | Reads in attributes on the BinaryLinkShape. (Overrides BinaryLinkShapeSerializerBase.ReadPropertiesFromAttributes(SerializationContext, ModelElement, XmlReader).) | |
ReadRootElement | Deserializes the root model element from XML. (Inherited from DomainClassXmlSerializer.) | |
ReadShapeElementChildElements | Read child elements defined on ShapeElement. (Inherited from ShapeElementSerializer.) | |
Reset | Reset the serializer (Inherited from BinaryLinkShapeSerializerBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryCreateInstance | Creates an instance of BinaryLinkShape based on the tag currently pointed by the reader. The reader does not move. (Inherited from BinaryLinkShapeSerializerBase.) | |
TryCreateMonikerInstance | Creates a Moniker for an instance of BinaryLinkShape (or one of its subtypes) based on the tag currently pointed by the reader. (Inherited from BinaryLinkShapeSerializerBase.) | |
UseRelationshipId | Calculate whether the BinaryLinkShape should serialize its relationship to the presented link using an Id or its source and target shapes. | |
Write(SerializationContext, ModelElement, XmlWriter) | Serializes the model element instance associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) | |
Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) | Serializes one BinaryLinkShape instance into XML. (Inherited from BinaryLinkShapeSerializerBase.) | |
WriteAdditionalElementData | Write any additional element data associated with the element (Inherited from LinkShapeSerializer.) | |
WriteElements | Writes out child elements. (Overrides LinkShapeSerializer.WriteElements(SerializationContext, ModelElement, XmlWriter).) | |
WriteLinkShapeChildElements | Write child elements defined on LinkShape. (Inherited from LinkShapeSerializer.) | |
WriteMoniker | Writes a monikerized BinaryLinkShape instance into XML. (Inherited from BinaryLinkShapeSerializerBase.) | |
WritePropertiesAsAttributes | Writes out attributes on this BinaryLinkShape. (Overrides BinaryLinkShapeSerializerBase.WritePropertiesAsAttributes(SerializationContext, ModelElement, XmlWriter).) | |
WriteRootElement | Serializes the root model element instance associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) | |
WriteShapeElementChildElements | Write child elements defined on ShapeElement. (Inherited from ShapeElementSerializer.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.