RazorDirectiveAttribute(String, String) Constructor

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the RazorDirectiveAttribute class.

public RazorDirectiveAttribute (string name, string value);
new System.Web.Razor.RazorDirectiveAttribute : string * string -> System.Web.Razor.RazorDirectiveAttribute
Public Sub New (name As String, value As String)

Parameters

name
String

The name of the attribute.

value
String

The value of the attribute.

Applies to