語言

RazorCompiledItemAttribute 類別

定義

指定元件包含已編譯的 Razor 資產。

public ref class RazorCompiledItemAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class RazorCompiledItemAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)]
public sealed class RazorCompiledItemAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
    inherit Attribute
Public NotInheritable Class RazorCompiledItemAttribute
Inherits Attribute
繼承
RazorCompiledItemAttribute
屬性

建構函式

名稱 Description
RazorCompiledItemAttribute(Type, String, String)

建立新的 RazorCompiledItemAttribute。

屬性

名稱 Description
Identifier

取得與編譯專案相關聯的識別碼。 識別碼會以程式設計方式用來尋找特定種類的特定專案,而且應該在元件內是唯一的。

Kind

取得已編譯專案的種類。 此種類會以程式設計方式用來將行為和語意與專案產生關聯。

Type

Type取得已編譯專案的 。 型別應該包含在與此 實例 RazorCompiledItemAttribute 相關聯的元件中。

適用於