Udostępnij za pośrednictwem


RazorCompiledItemAttribute(Type, String, String) Konstruktor

Definicja

Tworzy nowy adres 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)

Parametry

type
Type

Skompilowany Type element.

kind
String

Rodzaj skompilowanego elementu. Rodzaj jest używany programowo do kojarzania zachowań z elementem.

identifier
String

Identyfikator skojarzony z elementem. Identyfikator jest używany programowo do lokalizowania określonego elementu określonego rodzaju i powinien być unikatowy w zestawie.

Dotyczy