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
property
Type: Microsoft.VisualStudio.GraphModel.GraphPropertyThe property to look for.
value
Type: System.ObjectThe value to compare
Return Value
Type: System.Collections.Generic.IEnumerable<GraphNode>
nodes that have the specified property value
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.