DBusAnnotationInfo.lookup

Looks up the value of an annotation.

The cost of this function is O(n) in number of annotations.

class DBusAnnotationInfo
static
string
lookup

Parameters

annotations gio.dbus_annotation_info.DBusAnnotationInfo[]

A null-terminated array of annotations or null.

name string

The name of the annotation to look up.

Return Value

Type: string

The value or null if not found. Do not free, it is owned by annotations.