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

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

Type Parameters

  • T
    Result type. IElement or a subtype.

Return Value

Type: T

.NET Framework Security

See Also

Reference

IShape Interface

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace