GraphLinkCollection.GetByProperty(GraphProperty, Object) Methode

Definition

Gibt alle Links im Diagramm zurück, die über den angegebenen Eigenschafts Wert verfügen.

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)

Parameter

property
GraphProperty

Die Eigenschaft, nach der gesucht werden soll.

value
Object

Der zu vergleichende Wert.

Gibt zurück

IEnumerable<GraphLink>

Links mit dem angegebenen Eigenschafts Wert

Attribute

Gilt für