AllowForWebAttribute 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 : Attribute
struct winrt::Windows::Foundation::Metadata::AllowForWebAttribute : Attribute
public sealed class AllowForWebAttribute : Attribute
Public NotInheritable Class AllowForWebAttribute Inherits Attribute
var allowForWebAttribute = new allowForWebAttribute();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Constructors

AllowForWebAttribute() AllowForWebAttribute() AllowForWebAttribute() AllowForWebAttribute() AllowForWebAttribute()

Creates and initializes a new instance of the attribute.

See Also