The <member> Element

Purpose

The <member> element is used to access an object- or class (static) member, which is either a method or a field.

The <member> element requires at least one of the value and class attributes. The value attribute evaluates to the object whose method or field is to be accessed. The class attribute specifies the class used to search for the member to be accessed. If both attributes are specified, the given value must be an instance of the given class. If the class attribute is omitted, the search class defaults to the given value's class. If the value attribute is omitted, only static members of the given class can be accessed.

A <member> element may appear inside <set>, <use>, <property> and <arg> elements.

Attributes

NameTypeDescription
class CDATA Dynamic - The fully qualified class name used to search for method or field members.
value CDATA Dynamic - The value whose member is to be accessed.

Body

The body of the <member> element is defined by the following sequence:

(method|field)

Related elements

<set>, <use>, <property>, <method>, <field>