UsesItemPolicyAttribute.MeetsRequirement Method
Returns a value indicating whether the specified editing context contains the ItemPolicyType associated with this attribute instance.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overrides Function MeetsRequirement ( _
context As EditingContext _
) As Boolean
public override bool MeetsRequirement(
EditingContext context
)
public:
virtual bool MeetsRequirement(
EditingContext^ context
) override
abstract MeetsRequirement :
context:EditingContext -> bool
override MeetsRequirement :
context:EditingContext -> bool
public override function MeetsRequirement(
context : EditingContext
) : boolean
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The editing context to check.
Return Value
Type: System.Boolean
true if this requirement is met; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Policies Namespace