RazorCompiledItemAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定元件包含已編譯的 Razor 資產。
public ref class RazorCompiledItemAttribute sealed : 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)]
public sealed class RazorCompiledItemAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type RazorCompiledItemAttribute = class
inherit Attribute
Public NotInheritable Class RazorCompiledItemAttribute
Inherits Attribute
- 繼承
-
RazorCompiledItemAttribute
- 屬性
建構函式
RazorCompiledItemAttribute(Type, String, String) |
屬性
Identifier |
取得與編譯專案相關聯的識別碼。 識別碼會以程式設計方式用來尋找特定種類的特定專案,而且應該在元件內是唯一的。 |
Kind |
取得已編譯專案的種類。 此種類會以程式設計方式用來將行為和語意與專案產生關聯。 |
Type |
Type取得已編譯專案的 。 型別應該包含在與此 實例 RazorCompiledItemAttribute 相關聯的元件中。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應