FeatureManager.InitializeFeatures 方法

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

针对在指定类型上定义的功能提供程序初始化任何功能连接器。

命名空间:  Microsoft.Windows.Design.Features
程序集:  Microsoft.Windows.Design.Extensibility(在 Microsoft.Windows.Design.Extensibility.dll 中)

语法

声明
Public Sub InitializeFeatures ( _
    type As Type _
)
public void InitializeFeatures(
    Type type
)
public:
void InitializeFeatures(
    Type^ type
)
member InitializeFeatures : 
        type:Type -> unit 
public function InitializeFeatures(
    type : Type
)

参数

  • type
    类型:System.Type
    要为其初始化功能连接器的类型。

异常

异常 条件
ArgumentNullException

type 为 nulla null reference (Nothing in Visual Basic)。

.NET Framework 安全性

请参见

参考

FeatureManager 类

Microsoft.Windows.Design.Features 命名空间

FeatureProvider

FeatureConnector<TFeatureProviderType>

其他资源

功能提供程序和功能连接器

了解 WPF 设计器扩展性