Discuss this help topic in SecureBlackbox Forum

TElDCNode.AddNode

TElDCNode     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds a node to the list.

Declaration

[C#/Java]
    int AddNode();
    int AddNode(string Name, string Value);
    int AddNode(string Name, int Value);
    int AddNode(string Name, bool Value);
    int AddNode(string Name, TElRelativeDistinguishedName Value, string ElemName);
    int AddNode(string Name, TElStringList Value, string ElemName);

[VB.NET]
    Function AddNode() As Integer
    Function AddNode(ByVal Name As String, ByVal Value As String) As Integer
    Function AddNode(ByVal Name As String, ByVal Value As Integer) As Integer
    Function AddNode(ByVal Name As String, ByVal Value As Boolean) As Integer
    Function AddNode(ByVal Name As String, ByVal Value As TElRelativeDistinguishedName, ByVal ElemName As String) As Integer
    Function AddNode(ByVal Name As String, ByVal Value As TElStringList, ByVal ElemName As String) As Integer

[Pascal]
    function AddNode() : integer;
    function AddNode(const Name, Value : string) : integer;
    function AddNode(const Name : string; Value : integer) : integer;
    function AddNode(const Name : string; Value : boolean) : integer;
    function AddNode(const Name : string; Value : TElRelativeDistinguishedName; const ElemName : string) : integer;
    function AddNode(const Name : string; Value : TStringList; const ElemName : string) : integer;

[C++]
    int32_t AddNode();
    int32_t AddNode(const std::string &Name, const std::string &Value);
    int32_t AddNode(const std::string &Name, int32_t Value);
    int32_t AddNode(const std::string &Name, bool Value);
    int32_t AddNode(const std::string &Name, TElRelativeDistinguishedName &Value, const std::string &ElemName);
    int32_t AddNode(const std::string &Name, TElRelativeDistinguishedName *Value, const std::string &ElemName);
    int32_t AddNode(const std::string &Name, TElStringList &Value, const std::string &ElemName);
    int32_t AddNode(const std::string &Name, TElStringList *Value, const std::string &ElemName);

[PHP]
    integer AddNode()
    integer AddNode(string $Name, string $Value)
    integer AddNode(string $Name, integer $Value)
    integer AddNode(string $Name, bool $Value)
    integer AddNode(string $Name, TElRelativeDistinguishedName $Value, string $ElemName)
    integer AddNode(string $Name, TElStringList $Value, string $ElemName)

Parameters

  • Name - The name of the new node.
  • Value - The value of the new node.
  • ElemName - In case the Value is represented not by TElRelativeDistinguishedName, this parameter contains the «Object Identifier» (name).

Return value

    The index of the newly added item in the list.

Description

    This method is used to add child nodes to the list.

See also:     RemoveNode     Nodes    

Discuss this help topic in SecureBlackbox Forum