Share via


GraphLinkCollection.GetByProperty Method

Returns all links in the graph that have the specified property value.

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>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphLink>
links that have the specified property value

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Microsoft.VisualStudio.GraphModel Namespace