Attribute.nextAttribute

Gets next attribute, optionally matching attribute name.

  1. Attribute nextAttribute(string name, bool caseSensitive)
    class Attribute
    nextAttribute
    (
    string name = null
    ,
    bool caseSensitive = true
    )
  2. void nextAttribute(Attribute attribute)

Parameters

name string

Name of attribute to find, or 0 to return next attribute regardless of its name; this string doesn't have to be zero-terminated if name_size is non-zero

caseSensitive bool

Should name comparison be case-sensitive; non case-sensitive comparison works properly only for ASCII characters

Return Value

Type: Attribute

Pointer to found attribute, or 0 if not found.

Meta