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
'Declaração
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
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
Return Value
Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<DiagramElement>
.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.