SecurityElement.Children SecurityElement.Children SecurityElement.Children SecurityElement.Children Property


Gets or sets the array of child elements of the XML element.

 property System::Collections::ArrayList ^ Children { System::Collections::ArrayList ^ get(); void set(System::Collections::ArrayList ^ value); };
public System.Collections.ArrayList Children { get; set; }
member this.Children : System.Collections.ArrayList with get, set
Public Property Children As ArrayList

Property Value

The ordered child elements of the XML element as security elements.



The following code shows the use of the Children property to get the array of child elements of the XML element. This code example is part of a larger example provided for the SecurityElement class.

String^ childrenCount = xmlElement->Children->Count.ToString();
string childrenCount = xmlElement.Children.Count.ToString();
Dim childrenCount As String = xmlElement.Children.Count.ToString()


If a SecurityElement contains both Text and Children, Text will appear first.

Applies to