RequirementValidator 构造函数
[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]
为指定的 FeatureManager 和类型初始化 RequirementValidator 类的新实例。
命名空间: Microsoft.Windows.Design
程序集: Microsoft.Windows.Design.Extensibility(在 Microsoft.Windows.Design.Extensibility.dll 中)
语法
声明
Public Sub New ( _
featureManager As FeatureManager, _
type As Type _
)
public RequirementValidator(
FeatureManager featureManager,
Type type
)
public:
RequirementValidator(
FeatureManager^ featureManager,
Type^ type
)
new :
featureManager:FeatureManager *
type:Type -> RequirementValidator
public function RequirementValidator(
featureManager : FeatureManager,
type : Type
)
参数
- featureManager
类型:Microsoft.Windows.Design.Features.FeatureManager
针对其验证要求的功能管理器。
- type
类型:System.Type
要从其中获取要求特性的类型。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。