Freigeben über


GraphLinkCollection.GetByProperty-Methode

Gibt alle Links im Diagramm zurück, die den angegebenen Eigenschaftswert aufweisen.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function GetByProperty ( _
    property As GraphProperty, _
    value As Object _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> GetByProperty(
    GraphProperty property,
    Object value
)
public:
IEnumerable<GraphLink^>^ GetByProperty(
    GraphProperty^ property, 
    Object^ value
)
member GetByProperty : 
        property:GraphProperty * 
        value:Object -> IEnumerable<GraphLink> 
public function GetByProperty(
    property : GraphProperty, 
    value : Object
) : IEnumerable<GraphLink>

Parameter

  • value
    Typ: Object

    Der zu vergleichende Wert

Rückgabewert

Typ: IEnumerable<GraphLink>
Links mit dem angegebenen Eigenschaftswert

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphLinkCollection Klasse

Microsoft.VisualStudio.GraphModel-Namespace