Share via


IShape<T> Interface

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

A strongly-typed IShape for UML elements of a particular type.

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

Syntax

'Declaration
Public Interface IShape(Of Out T As IElement) _
    Inherits IShape
'Usage
Dim instance As IShape(Of Out T)
public interface IShape<out T> : IShape
where T : IElement
generic<typename T>
where T : IElement
public interface class IShape : IShape
type IShape<'T when 'T : IElement> =  
    interface
        interface IShape
    end
JScript does not support generic types or methods.

Type Parameters

  • out T
    This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

Remarks

Note

The methods defined on this type are extension methods. To use the methods, you must add a project reference to the .Net assembly Microsoft.VisualStudio.Uml.Extensions.dll, and you must include the directive using Microsoft.VisualStudio.Uml.Extensions; in your code.

See Also

Reference

IShape<T> Members

Microsoft.VisualStudio.Uml.Presentation Namespace