Share via


IClassDiagram.Display<T> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Display the given UML element on this diagram or in given parent shape, at the specified location. Specify (0,0) to place the shape automatically.

Namespace:  Microsoft.VisualStudio.Uml.Presentation
Assembly:  Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)

Syntax

'Declaration
Function Display(Of T As IElement) ( _
    element As T, _
    parent As IShape, _
    xoffset As Double, _
    yoffset As Double _
) As IShape(Of T)
'Usage
Dim instance As IClassDiagram
Dim element As T
Dim parent As IShape
Dim xoffset As Double
Dim yoffset As Double
Dim returnValue As IShape(Of T)

returnValue = instance.Display(element, _
    parent, xoffset, yoffset)
IShape<T> Display<T>(
    T element,
    IShape parent,
    double xoffset,
    double yoffset
)
where T : IElement
generic<typename T>
where T : IElement
IShape<T>^ Display(
    T element, 
    IShape^ parent, 
    double xoffset, 
    double yoffset
)
abstract Display : 
        element:'T * 
        parent:IShape * 
        xoffset:float * 
        yoffset:float -> IShape<'T>  when 'T : IElement
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • element
    Type: T
    UML element to display.

Return Value

Type: Microsoft.VisualStudio.Uml.Presentation.IShape<T>
The new shape for given element, or null if failed.

.NET Framework Security

See Also

Reference

IClassDiagram Interface

IClassDiagram Members

Microsoft.VisualStudio.Uml.Presentation Namespace