SecurityElement.Children Propriedade
Definição
Obtém ou define a matriz de elementos filho do elemento XML.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
Valor da propriedade
Os elementos filho ordenados do elemento XML como elementos de segurança.The ordered child elements of the XML element as security elements.
Exceções
Um filho do nó pai XML é null.A child of the XML parent node is null.
Exemplos
O código a seguir mostra o uso da Children propriedade para obter a matriz de elementos filho do elemento XML.The following code shows the use of the Children property to get the array of child elements of the XML element. Este exemplo de código faz parte de um exemplo maior fornecido para a SecurityElement classe.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()
Comentários
Se um SecurityElement contém Text e Children , Text será exibido primeiro.If a SecurityElement contains both Text and Children, Text will appear first.