次の方法で共有


IFeatureActivationDependencyCollection.AddCustomFeatureActivationDependency メソッド

新しい ICustomFeatureActivationDependency をフィーチャー アクティベーション依存関係のコレクションに追加します。

名前空間:  Microsoft.VisualStudio.SharePoint.Features
アセンブリ:  Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)

構文

'宣言
Function AddCustomFeatureActivationDependency As ICustomFeatureActivationDependency
ICustomFeatureActivationDependency AddCustomFeatureActivationDependency()

戻り値

型: Microsoft.VisualStudio.SharePoint.Features.ICustomFeatureActivationDependency
コレクションに追加される新しいフィーチャー アクティベーション依存関係。

.NET Framework セキュリティ

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

参照

参照

IFeatureActivationDependencyCollection インターフェイス

Microsoft.VisualStudio.SharePoint.Features 名前空間