GraphLinkCollection.GetByProperty Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns all links 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 GraphLink)
public IEnumerable<GraphLink> GetByProperty(
GraphProperty property,
Object value
)
public:
IEnumerable<GraphLink^>^ GetByProperty(
GraphProperty^ property,
Object^ value
)
member GetByProperty :
property:GraphProperty *
value:Object -> IEnumerable<GraphLink>
public function GetByProperty(
property : GraphProperty,
value : Object
) : IEnumerable<GraphLink>
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<GraphLink>
links 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.