Share via


IShape.GetObject<T> Method ()

 

Gets the model element represented by this shape. Supply the type of the result that you want.

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

Syntax

T GetObject<T>()
generic<typename T>
T GetObject()
abstract GetObject<'T> : unit -> 'T
Function GetObject(Of T) As T

Return Value

Type: T

Type Parameters

  • T
    Result type. IElement or a subtype.

See Also

IShape Interface
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top