IDSRefProvider.CreateNextSiblingNode (Método)

Crea otro nodo relacionado a un nodo secundario.

Espacio de nombres:  Microsoft.VisualStudio.Data.Interop
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Function CreateNextSiblingNode ( _
    drnidCurr As IntPtr _
) As IntPtr
IntPtr CreateNextSiblingNode(
    IntPtr drnidCurr
)
IntPtr CreateNextSiblingNode(
    [InAttribute] IntPtr drnidCurr
)
abstract CreateNextSiblingNode : 
        drnidCurr:IntPtr -> IntPtr 
function CreateNextSiblingNode(
    drnidCurr : IntPtr
) : IntPtr

Parámetros

  • drnidCurr
    Tipo: System.IntPtr
    [in] DSREFNODEID de nodo secundario al que el nodo relacionado se debe crear.

Valor devuelto

Tipo: System.IntPtr
Devuelve NOERROR si correctamente.De lo contrario, devuelve un código sin especificar del error.

Comentarios

El método de CreateNextSiblingNode realiza una inserción de la lista de los nodos secundarios, por lo que el nodo creado seguirá el nodo de drnidCurr en la lista.

Ejemplos

IDSRefProvider *pIDSRefProvider;
DSREFNODEID drnid;
DSREFNODEID drnidChild;
pIDSRefProvider->CreateNextSiblingNode(drnidChild, &drnid);

Seguridad de .NET Framework

Vea también

Referencia

IDSRefProvider Interfaz

Microsoft.VisualStudio.Data.Interop (Espacio de nombres)

Otros recursos

Extensibilidad (DDEX) SDK de diseñador de datos