IFeatureValidationRule.ValidateFeature Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.IFeatureValidationContextContextual 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.