FeatureGuardAttribute(Type) 建構函式

定義

初始化一個新FeatureGuardAttribute類別的實例

並以指定的特徵類型。

public:
 FeatureGuardAttribute(Type ^ featureType);
public FeatureGuardAttribute(Type featureType);
new System.Diagnostics.CodeAnalysis.FeatureGuardAttribute : Type -> System.Diagnostics.CodeAnalysis.FeatureGuardAttribute
Public Sub New (featureType As Type)

參數

featureType
Type

代表該屬性所守護特徵的類型。

適用於