Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an initial child node to a parent node.
Namespace: Microsoft.VisualStudio.Data.Interop
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Function CreateFirstChildNode ( _
drnidCurr As IntPtr _
) As IntPtr
IntPtr CreateFirstChildNode(
IntPtr drnidCurr
)
IntPtr CreateFirstChildNode(
[InAttribute] IntPtr drnidCurr
)
abstract CreateFirstChildNode :
drnidCurr:IntPtr -> IntPtr
function CreateFirstChildNode(
drnidCurr : IntPtr
) : IntPtr
Parameters
- drnidCurr
Type: System.IntPtr
[in] DSREFNODEID of the parent node for which the first child node is to be created.
Return Value
Type: System.IntPtr
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.
Remarks
During the creation of the database node, DSREFNODEID_ROOT ( = 0) should be passed as the first parameter.
Examples
IDSRefProvider *pIDSRefProvider;
DSREFNODEID &rdrnid;
DSREFNODEID drnid;
pIDSRefProvider->CreateFirstChildNode(rdrnid, &drnid);
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Interop Namespace