Język

Element.GetChild Method

Definition

Overloads

Name Description
GetChild(String)

Gets the child element with the given name.

GetChild(String, String)

Gets the child element with the given name.

GetChild(String)

Gets the child element with the given name.

[Android.Runtime.Register("getChild", "(Ljava/lang/String;)Landroid/sax/Element;", "GetGetChild_Ljava_lang_String_Handler")]
public virtual Android.Sax.Element? GetChild(string? localName);
[<Android.Runtime.Register("getChild", "(Ljava/lang/String;)Landroid/sax/Element;", "GetGetChild_Ljava_lang_String_Handler")>]
abstract member GetChild : string -> Android.Sax.Element
override this.GetChild : string -> Android.Sax.Element

Parameters

localName
String

The local name of the child element.

Returns

The child element with the given local name.

Attributes

Remarks

Gets the child element with the given name. Uses an empty string as the namespace.

Java documentation for android.sax.Element.getChild(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetChild(String, String)

Gets the child element with the given name.

[Android.Runtime.Register("getChild", "(Ljava/lang/String;Ljava/lang/String;)Landroid/sax/Element;", "GetGetChild_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Android.Sax.Element? GetChild(string? uri, string? localName);
[<Android.Runtime.Register("getChild", "(Ljava/lang/String;Ljava/lang/String;)Landroid/sax/Element;", "GetGetChild_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member GetChild : string * string -> Android.Sax.Element
override this.GetChild : string * string -> Android.Sax.Element

Parameters

uri
String

The namespace URI of the child element.

localName
String

The local name of the child element.

Returns

The child element with the given namespace URI and local name.

Attributes

Remarks

Gets the child element with the given name.

Java documentation for android.sax.Element.getChild(java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to