共用方式為


FeatureAvailableEventArgs 建構函式

初始化 FeatureAvailableEventArgs 類別的新執行個體。

命名空間:  Microsoft.Windows.Design.Features
組件:  Microsoft.Windows.Design.Extensibility (在 Microsoft.Windows.Design.Extensibility.dll 中)

語法

'宣告
Public Sub New ( _
    featureProviderType As Type _
)
public FeatureAvailableEventArgs(
    Type featureProviderType
)
public:
FeatureAvailableEventArgs(
    Type^ featureProviderType
)
new : 
        featureProviderType:Type -> FeatureAvailableEventArgs
public function FeatureAvailableEventArgs(
    featureProviderType : Type
)

參數

  • featureProviderType
    型別:System.Type
    目前可供建立之功能提供者的型別。

例外狀況

例外狀況 條件
ArgumentNullException

featureProviderType 為 nullNull 參照 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

FeatureAvailableEventArgs 類別

Microsoft.Windows.Design.Features 命名空間

FeatureManager

FeatureProvider

FeatureConnector<TFeatureProviderType>

其他資源

功能提供者和功能連接器

了解 WPF 設計工具擴充性