PresentationHelpers.Diagrams Method (IModelStore, String)

 

All the open diagrams in the model, of a particular type if specified.

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

Syntax

public static IEnumerable<IDiagram> Diagrams(
    this IModelStore modelStore,
    string typeName = null
)
public:
[ExtensionAttribute]
static IEnumerable<IDiagram^>^ Diagrams(
    IModelStore^ modelStore,
    String^ typeName = null
)
static member Diagrams : 
        modelStore:IModelStore *
        typeName:string = null -> IEnumerable<IDiagram>
<ExtensionAttribute>
Public Shared Function Diagrams (
    modelStore As IModelStore,
    typeName As String
) As IEnumerable(Of IDiagram)

Parameters

  • typeName
    Type: System.String

    Omit to return all diagrams. If not empty, only diagrams with the specified TypeName are returned.

Return Value

Type: System.Collections.Generic.IEnumerable<IDiagram>

Remarks

For more information, see:

See Also

PresentationHelpers Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace

Return to top