Share via


GraphNodeCollection.Item Property

Gets the Node using the given id. Throws exception on set if another node with the same id already exists.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    id As String _
) As GraphNode
    Get
public GraphNode this[
    string id
] { get; }
public:
property GraphNode^ default[String^ id] {
    GraphNode^ get (String^ id);
}
member Item : GraphNode
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace