LayoutAttribute(Type) Constructor

Definition

Constructs an instance of LayoutAttribute.

public:
 LayoutAttribute(Type ^ layoutType);
public LayoutAttribute (Type layoutType);
new Microsoft.AspNetCore.Components.LayoutAttribute : Type -> Microsoft.AspNetCore.Components.LayoutAttribute
Public Sub New (layoutType As Type)

Parameters

layoutType
Type

The type of the layout.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0