IDSRefConsumer.GetNextSiblingNode 方法

检索一个指定节点的下一个同级节点的标识符。

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

语法

声明
Function GetNextSiblingNode ( _
    drnidCurr As IntPtr _
) As IntPtr
IntPtr GetNextSiblingNode(
    IntPtr drnidCurr
)
IntPtr GetNextSiblingNode(
    [InAttribute] IntPtr drnidCurr
)
abstract GetNextSiblingNode : 
        drnidCurr:IntPtr -> IntPtr 
function GetNextSiblingNode(
    drnidCurr : IntPtr
) : IntPtr

参数

  • drnidCurr
    类型:System.IntPtr
    [in]一个同级节点将检索子节点的 DSREFNODEID。

返回值

类型:System.IntPtr
返回NOERROR,如果成功。否则,它返回表示未指定的错误代码。

示例

IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID idLast;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetNextSiblingNode(idLast, &idCur);

.NET Framework 安全性

请参见

参考

IDSRefConsumer 接口

Microsoft.VisualStudio.Data.Interop 命名空间