AllowForWebAttribute
AllowForWebAttribute
AllowForWebAttribute
AllowForWebAttribute
Class
Definition
Enables developers to expose a native Universal Windows Platform (UWP) object as a global parameter in the context of the top-level document inside of a WebView. For a Universal Windows Platform (UWP) object to be projected, it must implement IAgileObject and be decorated with the AllowForWebAttribute attribute.
public : sealed class AllowForWebAttribute : Attributepublic sealed class AllowForWebAttribute : AttributePublic NotInheritable Class AllowForWebAttribute Inherits Attribute// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.FoundationContract (introduced v1)
|