This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
フィーチャー全体またはその構成プロジェクト アイテムがいずれかの検証規則に違反しているかどうかを判定します。
名前空間: Microsoft.VisualStudio.SharePoint.Validation
アセンブリ: Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)
構文
'宣言
Function ValidateFeature ( _
projectFeature As ISharePointProjectFeature _
) As IValidationResult
IValidationResult ValidateFeature(
ISharePointProjectFeature projectFeature
)
パラメーター
- projectFeature
型: Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature
検証するフィーチャー。
戻り値
型: Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
検証の結果を表すオブジェクト。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。