Partager via


IReference Interface

An IReference can link an IElement to a work item, a URL, or an element in another model. Use IElement.AddReference() to create the link.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
Public Interface IReference
public interface IReference
public interface class IReference
type IReference =  interface end
public interface IReference

The IReference type exposes the following members.

Properties

  Name Description
Public property Name Indicates what kind of reference this is. You can use a custom value, or one of the set defined in ReferenceConstants.
Public property Value Get/set the reference Value. The type depends on the Reference Name.

Top

Methods

  Name Description
Public method Delete Remove the reference from the model element.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending UML Models and Diagrams.

See Also

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace