Bewerken

Delen via


GenerateMetadata.Generate(String, String) Method

Definition

Generates, or locates, an assembly that contains common language runtime (CLR) metadata for a COM+ component represented by the specified type library.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual System::String ^ Generate(System::String ^ strSrcTypeLib, System::String ^ outPath);
public string Generate (string strSrcTypeLib, string outPath);
abstract member Generate : string * string -> string
override this.Generate : string * string -> string
Public Function Generate (strSrcTypeLib As String, outPath As String) As String

Parameters

strSrcTypeLib
String

The name of the type library for which to generate an assembly.

outPath
String

The folder in which to generate an assembly or to locate an already existing assembly.

Returns

The generated assembly name; otherwise, an empty string if the inputs are invalid.

Implements

Remarks

If necessary, the Generate method generates an assembly that contains CLR metadata for a specified type library. To do this processing, it calls the GenerateMetaData method.

These methods do not need to be called directly from your code.

Applies to