RazorCompiledItemAttribute(Type, 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.
Creates a new RazorCompiledItemAttribute.
public:
RazorCompiledItemAttribute(Type ^ type, System::String ^ kind, System::String ^ identifier);
public RazorCompiledItemAttribute (Type type, string kind, string identifier);
new Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute : Type * string * string -> Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute
Public Sub New (type As Type, kind As String, identifier As String)
Parameters
- kind
- String
The kind of the compiled item. The kind is used programmatically to associate behaviors with the item.
- identifier
- String
The identifier associated with the item. The identifier is used programmatically to locate a specific item of a specific kind, and should be unique within the assembly.