GraphLinkCollection.GetByProperty(GraphProperty, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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