Share via


Attributes2Impl.SetSpecified(Int32, Boolean) Method

Definition

Assign a value to the "specified" flag of a specific attribute.

[Android.Runtime.Register("setSpecified", "(IZ)V", "GetSetSpecified_IZHandler")]
public virtual void SetSpecified (int index, bool value);
[<Android.Runtime.Register("setSpecified", "(IZ)V", "GetSetSpecified_IZHandler")>]
abstract member SetSpecified : int * bool -> unit
override this.SetSpecified : int * bool -> unit

Parameters

index
Int32

The index of the attribute (zero-based).

value
Boolean

The desired flag value.

Attributes

Exceptions

When the supplied index does not identify an attribute.

Remarks

Assign a value to the "specified" flag of a specific attribute. This is the only way this flag can be cleared, except clearing by initialization with the copy constructor.

Java documentation for org.xml.sax.ext.Attributes2Impl.setSpecified(int, boolean).

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