IComSoapMetadata.Generate(String, String) 方法
定义
生成一个程序集,该程序集包含指定类型库所表示的 COM+ 组件的公共语言运行时 (CLR) 元数据。Generates an assembly that contains common language runtime (CLR) metadata for a COM+ component represented by the specified type library.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
System::String ^ Generate(System::String ^ SrcTypeLibFileName, System::String ^ OutPath);
public string Generate (string SrcTypeLibFileName, string OutPath);
abstract member Generate : string * string -> string
Public Function Generate (SrcTypeLibFileName As String, OutPath As String) As String
参数
- SrcTypeLibFileName
- String
类型库的名称,将为该类型库生成一个程序集。The name of the type library for which to generate an assembly.
- OutPath
- String
将在其中生成程序集的文件夹。The folder in which to generate an assembly.
返回
生成的程序集的名称。The generated assembly name.
注解
如有必要,该 Generate 方法指定为指定的类型库生成包含 CLR 元数据的程序集。If necessary, the Generate method specifies that an assembly that contains CLR metadata is generated for a specified type library.