GraphNodeId.GetNested 方法 (GraphNodeIdName, Object)

获取 GraphNodeId 根据名称和值。 针对字典进行查找,以将 GraphNodeIds 的数量减到最小。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Shared Function GetNested ( _
    name As GraphNodeIdName, _
    value As Object _
) As GraphNodeId
public static GraphNodeId GetNested(
    GraphNodeIdName name,
    Object value
)
public:
static GraphNodeId^ GetNested(
    GraphNodeIdName^ name, 
    Object^ value
)
static member GetNested : 
        name:GraphNodeIdName * 
        value:Object -> GraphNodeId
public static function GetNested(
    name : GraphNodeIdName, 
    value : Object
) : GraphNodeId

参数

  • value
    类型:Object

    要搜索的值。

返回值

类型:Microsoft.VisualStudio.GraphModel.GraphNodeId
根据名称和值的部分 GraphNodeId。

.NET Framework 安全性

请参阅

参考

GraphNodeId 类

GetNested 重载

Microsoft.VisualStudio.GraphModel 命名空间