共用方式為


IPackageValidationContext.Package Property

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

Gets the package on which validation is being performed.

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

Syntax

'Declaration
ReadOnly Property Package As ISharePointProjectPackage
ISharePointProjectPackage Package { get; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectPackage
An object representing the package being validated.

.NET Framework Security

See Also

Reference

IPackageValidationContext Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace