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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace