Android Guides | Samples

Android.Util.Property Class

A property is an abstraction that can be used to represent a mutable value that is held in a host object. The Property's Property.set(T, V) or Property.get(T) methods can be implemented in terms of the private fields of the host object, or via "setter" and "getter" methods or by some other mechanism, as appropriate.

See Also: Property

Syntax

[Android.Runtime.Register("android/util/Property", DoNotGenerateAcw=true)]
public abstract class Property : Object

Remarks

A property is an abstraction that can be used to represent a mutable value that is held in a host object. The Property's Property.set(T, V) or Property.get(T) methods can be implemented in terms of the private fields of the host object, or via "setter" and "getter" methods or by some other mechanism, as appropriate.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14

The members of Android.Util.Property are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
IsReadOnlyBoolean. Returns true if the Property.set(T, V) method does not set the value on the target object (in which case the Property.set(T, V) method should throw a NoSuchPropertyException exception).
[read-only]
NameString. Returns the name for this property.
[read-only]
TypeClass. Returns the type for this property.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods