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
- 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