共用方式為


ParserAdapter.GetProperty(String) Method

Definition

Get a parser property.

[Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler")]
public virtual Java.Lang.Object? GetProperty (string? name);
[<Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler")>]
abstract member GetProperty : string -> Java.Lang.Object
override this.GetProperty : string -> Java.Lang.Object

Parameters

name
String

The property name.

Returns

The property value.

Implements

Attributes

Exceptions

If the property value can't be assigned or retrieved.

If the property value is not currently readable.

Remarks

Get a parser property.

No properties are currently recognized.

Java documentation for org.xml.sax.helpers.ParserAdapter.getProperty(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

See also