IPackageValidationProvider.ValidateFeature Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Determines whether an entire feature or any of its constituent project items violate any of the validation rules.
Namespace: Microsoft.VisualStudio.SharePoint.Validation
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function ValidateFeature ( _
projectFeature As ISharePointProjectFeature _
) As IValidationResult
IValidationResult ValidateFeature(
ISharePointProjectFeature projectFeature
)
Parameters
projectFeature
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectFeatureThe feature to validate.
Return Value
Type: Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
An object representing the result of the validation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.