Delen via


GraphNodeCollection.Item Property

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

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
public GraphNode this[
    string id
] { get; }
public:
property GraphNode^ default[String^ id] {
    GraphNode^ get (String^ id);
}
member Item : 
        id:string -> GraphNode with get
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode
The Node or null if it does not exist

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace