Compartir a través de


IFeatureValidationRule.ValidateProjectItem 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 would violate the rule if the specified project item is added.

Namespace:  Microsoft.VisualStudio.SharePoint.Validation
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Sub ValidateProjectItem ( _
    context As IFeatureValidationContext, _
    projectItem As ISharePointProjectItem _
)
void ValidateProjectItem(
    IFeatureValidationContext context,
    ISharePointProjectItem projectItem
)

Parameters

Remarks

An object that represents the validation rule being checked.

.NET Framework Security

See Also

Reference

IFeatureValidationRule Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace