Retrieves the identifier of the next sibling node of a specified node.
Namespace: Microsoft.VisualStudio.Data.Interop
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Function GetNextSiblingNode ( _
drnidCurr As IntPtr _
) As IntPtr
'使用
Dim instance As IDSRefConsumer
Dim drnidCurr As IntPtr
Dim returnValue As IntPtr
returnValue = instance.GetNextSiblingNode(drnidCurr)
IntPtr GetNextSiblingNode(
IntPtr drnidCurr
)
IntPtr GetNextSiblingNode(
[InAttribute] IntPtr drnidCurr
)
function GetNextSiblingNode(
drnidCurr : IntPtr
) : IntPtr
Parameters
drnidCurr
Type: System.IntPtr[in] DSREFNODEID of the child node of which the sibling node is to be retrieved.
Return Value
Type: System.IntPtr
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.
Examples
IDSRefConsumer* m_srpCurrentDSRef;
DSREFNODEID idLast;
DSREFNODEID idCur;
m_srpCurrentDSRef->GetNextSiblingNode(idLast, &idCur);
Permissions
- 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.