RazorDirectiveAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.