Partager via


JsProjectWinRTNamespace Function

Project a WinRT namespace.

Syntax

STDAPI_(JsErrorCode)  
   JsProjectWinRTNamespace(  
   _In_z_ const wchar_t *namespaceName  
);  

Parameters

namespaceName
The WinRT namespace to be projected.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

This API is supported only in EdgeHTML mode.

Note

WinRT was the platform name before Universal Windows Platform (UWP).

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)