Bagikan melalui


RequirementValidator.Requirements Property

Gets an enumeration of all requirements for the type contained in this validator.

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

Syntax

'Declaration
Public ReadOnly Property Requirements As IEnumerable(Of RequirementAttribute)
    Get
public IEnumerable<RequirementAttribute> Requirements { get; }
public:
property IEnumerable<RequirementAttribute^>^ Requirements {
    IEnumerable<RequirementAttribute^>^ get ();
}
member Requirements : IEnumerable<RequirementAttribute>
function get Requirements () : IEnumerable<RequirementAttribute>

Property Value

Type: System.Collections.Generic.IEnumerable<RequirementAttribute>
An enumeration of RequirementAttribute objects for Type.

.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