Поделиться через


RequirementValidator Constructor

Initializes a new instance of the RequirementValidator class for the specified FeatureManager and type.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
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
)

Parameters

  • type
    Type: System.Type
    The type to get requirement attributes from.

.NET Framework Security

See Also

Reference

RequirementValidator Class

Microsoft.Windows.Design Namespace

RequiresServiceAttribute

RequiresContextItemAttribute

UsesItemPolicyAttribute

PrimarySelectionPolicy

FeatureProvider

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility