VsShellComponentModelHost.GetOnlyApprovedComponentAssemblies 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许 VS 筛选掉组件程序集,然后再将其作为任何 MEF 目录的组成部分。
public:
override System::Collections::Generic::IEnumerable<System::String ^> ^ GetOnlyApprovedComponentAssemblies(System::Collections::Generic::IEnumerable<System::String ^> ^ componentAssembliesToFilter);
public override System.Collections.Generic.IEnumerable<string> GetOnlyApprovedComponentAssemblies (System.Collections.Generic.IEnumerable<string> componentAssembliesToFilter);
override this.GetOnlyApprovedComponentAssemblies : seq<string> -> seq<string>
Public Overrides Function GetOnlyApprovedComponentAssemblies (componentAssembliesToFilter As IEnumerable(Of String)) As IEnumerable(Of String)
参数
- componentAssembliesToFilter
- IEnumerable<String>
要为在主机中加载而批准的程序集的列表。
返回
已批准的程序集的筛选列表。