次の方法で共有


IPackageValidationProvider.ValidateFeatureForProjectItem メソッド

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 ValidateFeatureForProjectItem ( _
    projectFeature As ISharePointProjectFeature, _
    projectItem As ISharePointProjectItem _
) As IValidationResult
IValidationResult ValidateFeatureForProjectItem(
    ISharePointProjectFeature projectFeature,
    ISharePointProjectItem projectItem
)

パラメーター

戻り値

型: Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
検証の結果を表すオブジェクト。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IPackageValidationProvider インターフェイス

Microsoft.VisualStudio.SharePoint.Validation 名前空間