IFeatureValidationRule.ValidateFeature Method
Determines whether a feature currently violates the rule.
Namespace: Microsoft.VisualStudio.SharePoint.Validation
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub ValidateFeature ( _
context As IFeatureValidationContext _
)
void ValidateFeature(
IFeatureValidationContext context
)
Parameters
- context
Type: Microsoft.VisualStudio.SharePoint.Validation.IFeatureValidationContext
Contextual data associated with the feature and validation.
Remarks
An object that represents the validation rule being checked.
.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.