Condividi tramite


Extensions.GetDiagram Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Get the diagram that presents this model.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetDiagram ( _
    layerModel As ILayerModel _
) As IDiagram
public static IDiagram GetDiagram(
    this ILayerModel layerModel
)
[ExtensionAttribute]
public:
static IDiagram^ GetDiagram(
    ILayerModel^ layerModel
)
static member GetDiagram : 
        layerModel:ILayerModel -> IDiagram
public static function GetDiagram(
    layerModel : ILayerModel
) : IDiagram

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IDiagram
The diagram.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILayerModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

Extensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

GetLayerModel