SecurityElement.Children 속성

정의

XML 요소의 자식 요소 배열을 가져오거나 설정합니다.

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

속성 값

ArrayList

보안 요소로서 순서가 있는 XML 요소의 자식 요소입니다.

예외

XML 부모 노드의 자식이 null인 경우

예제

다음 코드에서는 속성을 사용하여 Children XML 요소의 자식 요소 배열을 가져온 다음 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 SecurityElement 클래스입니다.

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

설명

에 및 가 모두 포함되어 있으면 SecurityElement Text 가 먼저 Children Text 표시됩니다.

적용 대상