Share via


GraphNodeCollection.GetByProperty Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns all nodes 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 GraphNode)
public IEnumerable<GraphNode> GetByProperty(
    GraphProperty property,
    Object value
)
public:
IEnumerable<GraphNode^>^ GetByProperty(
    GraphProperty^ property, 
    Object^ value
)
member GetByProperty : 
        property:GraphProperty * 
        value:Object -> IEnumerable<GraphNode> 
public function GetByProperty(
    property : GraphProperty, 
    value : Object
) : IEnumerable<GraphNode>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphNode>
nodes that have the specified property value

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace