DBusAny.get

Get the value stored in the DBusAny object.

  1. T get()
  2. T get()
  3. T get()
    struct DBusAny
    @property const
    T
    get
    (
    T
    )
    ()
    if (
    is(T == const(ubyte)[])
    )

Parameters

T

The requested type. The currently stored value must match the requested type exactly.

Return Value

Type: T

The current value of the DBusAny object.

Throws

TypeMismatchException if the DBus type of the current value of the DBusAny object is not the same as the DBus type used to represent T.

Suggestion Box / Bug Report