Поделиться через


WinJS.Namespace Namespace

Applies to Windows and Windows Phone

Provides helper functions for defining namespaces. For more information, see Organizing your code with WinJS.Namespace.

The WinJS.Namespace namespace has these types of members:

  • Functions

Functions

Function Description

define function

Defines a new namespace with the specified name. For more information, see Organizing your code with WinJS.Namespace.

defineWithParent function

Defines a new namespace with the specified name under the specified parent namespace. For more information, see Organizing your code with WinJS.Namespace.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Library

Winjs.js