Org.Xml.Sax.Ext.Attributes2Impl.SetDeclared Method
Assign a value to the "declared" flag of a specific attribute.

Syntax

[Android.Runtime.Register("setDeclared", "(IZ)V", "GetSetDeclared_IZHandler")]
public virtual void SetDeclared (int index, bool value)

See Also

Org.Xml.Sax.Helpers.AttributesImpl.SetType(int, System.String)

Parameters

index
The index of the attribute (zero-based).
value
The desired flag value.

Exceptions

TypeReason
Java.Lang.ArrayIndexOutOfBoundsExceptionWhen the supplied index does not identify an attribute.

Remarks

Assign a value to the "declared" flag of a specific attribute. This is normally needed only for attributes of type CDATA, including attributes whose type is changed to or from CDATA.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax.Ext
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1