Compartilhar via


GraphLinkCollection.GetByProperty(GraphProperty, Object) Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphLink ^> ^ GetByProperty(Microsoft::VisualStudio::GraphModel::GraphProperty ^ property, System::Object ^ value);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetByProperty>d__51))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphLink> GetByProperty (Microsoft.VisualStudio.GraphModel.GraphProperty property, object value);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphLinkCollection+<GetByProperty>d__51))>]
member this.GetByProperty : Microsoft.VisualStudio.GraphModel.GraphProperty * obj -> seq<Microsoft.VisualStudio.GraphModel.GraphLink>
Public Iterator Function GetByProperty (property As GraphProperty, value As Object) As IEnumerable(Of GraphLink)

Parameters

property
GraphProperty

The property to look for.

value
Object

The value to compare

Returns

Links that have the specified property value

Attributes

Applies to