Bagikan melalui


IFeatureValidationContext Interface

Represents the contextual data passed to the feature validation rules during the feature validation process.

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

Syntax

'Declaration
Public Interface IFeatureValidationContext _
    Inherits IPackageValidationContext, IValidationContext
public interface IFeatureValidationContext : IPackageValidationContext, 
    IValidationContext

The IFeatureValidationContext type exposes the following members.

Properties

  Name Description
Public property Feature Gets the feature on which validation is being performed.
Public property Package Gets the package on which validation is being performed. (Inherited from IPackageValidationContext.)
Public property RuleViolations Gets the current collection of validation rule violations. (Inherited from IValidationContext.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Validation Namespace