NonViewComponentAttribute 類別

定義

表示預設檢視元件探索機制不會將此屬性套用至的類型和任何衍生型別視為檢視元件。

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

建構函式

NonViewComponentAttribute()

表示預設檢視元件探索機制不會將此屬性套用至的類型和任何衍生型別視為檢視元件。

適用於