共用方式為


DslLibraryDefinesElements.GetDiagramElements Method

Gets a list of DiagramElements.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
Public Shared Function GetDiagramElements ( _
    element As DslLibrary _
) As ReadOnlyLinkedElementCollection(Of DiagramElement)
public static ReadOnlyLinkedElementCollection<DiagramElement> GetDiagramElements(
    DslLibrary element
)
public:
static ReadOnlyLinkedElementCollection<DiagramElement^>^ GetDiagramElements(
    DslLibrary^ element
)
static member GetDiagramElements : 
        element:DslLibrary -> ReadOnlyLinkedElementCollection<DiagramElement> 
public static function GetDiagramElements(
    element : DslLibrary
) : ReadOnlyLinkedElementCollection<DiagramElement>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<DiagramElement>

.NET Framework Security

See Also

Reference

DslLibraryDefinesElements Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace