Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Base class for all domain relationships.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
<SerializableAttribute> _
<DomainObjectIdAttribute("706debaa-dd2d-4293-99af-695aadd36c9a")> _
<DomainRelationshipAttribute(AllowsDuplicates := True)> _
Public MustInherit Class ElementLink _
Inherits ModelElement
'Usage
Dim instance As ElementLink
[SerializableAttribute]
[DomainObjectIdAttribute("706debaa-dd2d-4293-99af-695aadd36c9a")]
[DomainRelationshipAttribute(AllowsDuplicates = true)]
public abstract class ElementLink : ModelElement
[SerializableAttribute]
[DomainObjectIdAttribute(L"706debaa-dd2d-4293-99af-695aadd36c9a")]
[DomainRelationshipAttribute(AllowsDuplicates = true)]
public ref class ElementLink abstract : public ModelElement
public abstract class ElementLink extends ModelElement
Remarks
When you define a domain relationship between two ModelElements in your DSL Definition, the generated class is derived from ElementLink. Many relationships in the DSL runtime and designer are also ElementLinks.
ElementLinks are also ModelElements, and can therefore have properties and be connected by links.
Examples
Walkthrough: Creating a Generated API
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ModelElement
Microsoft.VisualStudio.Modeling.ElementLink
Microsoft.VisualStudio.Modeling.Diagrams.LinkConnectsToNode
Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes
Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes
Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject
Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes
Microsoft.VisualStudio.Modeling.DslDefinition.AttributeHasParameters
Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMapReferencesBaseShape
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectives
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasProperties
Microsoft.VisualStudio.Modeling.DslDefinition.ClassIndexesElementMergeDirective
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPath
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasPropertyDisplayedPath
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShapeMapHasCompartmentMaps
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectionBuilderHasLinkConnectDirectives
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnector
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesRelationship
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorToolReferencesConnectionBuilder
Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor
Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMapHasPropertyDisplayedPath
Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMapHasVisibilityPropertyPath
Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMapReferencesDecorator
Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementMapHasDecoratorMaps
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasConnectorMaps
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass
Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor
Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider
Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleImplementedByCollectionType
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinesEditor
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinesExplorer
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinesExplorerBehavior
Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClass
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasConnectionBuilders
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasReferenceTypes
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasTypes
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasXmlSerializationBehavior
Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasToolboxTabs
Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasValidation
Microsoft.VisualStudio.Modeling.DslDefinition.EditorHasXmlSerializationDefinition
Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirectiveHasForwardingPath
Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirectiveHasLinkCreationPaths
Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes
Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehaviorHasNodeSettings
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerHidesNodes
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerNodeSettingsHasPropertyDisplayedPath
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerNodeSettingsReferencesClass
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerReferencesBehavior
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectives
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasTargetDirectives
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveReferencesDomainRelationship
Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClass
Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments
Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType
Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPathHasPath
Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPathReferencesProperty
Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles
Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayer
Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirectiveAcceptsClass
Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirectiveHasPathToRolePlayer
Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath
Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapReferencesClass
Microsoft.VisualStudio.Modeling.DslDefinition.ToolboxTabHasTools
Microsoft.VisualStudio.Modeling.DslDefinition.VisibilityPropertyPathHasPropertyFilters
Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassDataAppliesToDomainClass
Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassDataHasXmlElementData
Microsoft.VisualStudio.Modeling.DslDefinition.XmlElementAppliesToDomainProperty
Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipDataAppliesToDomainRelationship
Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassData
Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinitionReferencesBehavior
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.
See Also
Reference
Microsoft.VisualStudio.Modeling Namespace
Change History
Date |
History |
Reason |
---|---|---|
Clarified descriptions. |
Information enhancement. |