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
- id
Type: System.String
Property Value
Type: Microsoft.VisualStudio.GraphModel.GraphNode
The Node or null if it does not exist
.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.