Share via


WinJS.Utilities.getMember function

Gets the leaf-level type or namespace specified by the name parameter.

Syntax

var object = WinJS.Utilities.getMember(name, root);

Parameters

  • name
    Type: string

    The name of the member.

  • root
    Type: object

    The root to start in. Defaults to the global object.

Return value

Type: Object

The leaf-level type or namespace in the specified parent namespace.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities