Condividi tramite


DepthFirstElementWalker.GetRelatedElements Method

Get the list of immediately neighboring elements that should be visited, in the order in which they should be visited.

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

Syntax

'Dichiarazione
Protected Overridable Function GetRelatedElements ( _
    element As ModelElement _
) As IList(Of ModelElement)
protected virtual IList<ModelElement> GetRelatedElements(
    ModelElement element
)
protected:
virtual IList<ModelElement^>^ GetRelatedElements(
    ModelElement^ element
)
abstract GetRelatedElements : 
        element:ModelElement -> IList<ModelElement> 
override GetRelatedElements : 
        element:ModelElement -> IList<ModelElement> 
protected function GetRelatedElements(
    element : ModelElement
) : IList<ModelElement>

Parameters

Return Value

Type: System.Collections.Generic.IList<ModelElement>
The list of related elements.

Remarks

Override this to vary the order of visitation. The default implementation includes all linked model elements which are not filtered out, followed by all links which are not filtered out.

.NET Framework Security

See Also

Reference

DepthFirstElementWalker Class

Microsoft.VisualStudio.Modeling Namespace