共用方式為


ISharePointProjectFeature.Validate Method

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

Runs design-time validation on the feature and updates the error list in the IDE.

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

Syntax

'Declaration
Function Validate As Boolean
bool Validate()

Return Value

Type: System.Boolean
True if the validation is successful; false if errors are found.

.NET Framework Security

See Also

Reference

ISharePointProjectFeature Interface

Microsoft.VisualStudio.SharePoint Namespace