SecurityElement.Children Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the array of child elements of the XML element.
public:
property System::Collections::ArrayList ^ Children { System::Collections::ArrayList ^ get(); void set(System::Collections::ArrayList ^ value); };
public System.Collections.ArrayList? Children { get; set; }
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.
Exceptions
A child of the XML parent node is null
.
Examples
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()
Remarks
If a SecurityElement contains both Text and Children, Text will appear first.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre