共用方式為


IFeatureValidationContext Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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