Share via


IFeatureValidationRule.ValidateFeature(IFeatureValidationContext) Method

Definition

Determines whether a feature currently violates the rule.

public:
 void ValidateFeature(Microsoft::VisualStudio::SharePoint::Validation::IFeatureValidationContext ^ context);
public void ValidateFeature (Microsoft.VisualStudio.SharePoint.Validation.IFeatureValidationContext context);
abstract member ValidateFeature : Microsoft.VisualStudio.SharePoint.Validation.IFeatureValidationContext -> unit
Public Sub ValidateFeature (context As IFeatureValidationContext)

Parameters

context
IFeatureValidationContext

Contextual data associated with the feature and validation.

Remarks

An object that represents the validation rule being checked.

Applies to