Partager via


IShape.ToIShape<T> Method

Cast to a type that specifies the type of the element that the shape represents.

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

Syntax

'Declaration
Function ToIShape(Of T) As IShape(Of T)
IShape<T> ToIShape<T>()
generic<typename T>
IShape<T>^ ToIShape()
abstract ToIShape : unit -> IShape<'T> 
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of model element that the shape represents. IElement or a subtype.

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IShape<T>

.NET Framework Security

See Also

Reference

IShape Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace