共用方式為


IPackageValidationContext 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 package validation rules during package validation.

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

Syntax

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

The IPackageValidationContext type exposes the following members.

Properties

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

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Validation Namespace