Editare

Partajați prin


Publish.GetTypeNameFromProgId(String, String) Method

Definition

Reflects over an assembly and returns the type name that matches the ProgID.

public:
 virtual System::String ^ GetTypeNameFromProgId(System::String ^ AssemblyPath, System::String ^ ProgId);
public string GetTypeNameFromProgId (string AssemblyPath, string ProgId);
abstract member GetTypeNameFromProgId : string * string -> string
override this.GetTypeNameFromProgId : string * string -> string
Public Function GetTypeNameFromProgId (AssemblyPath As String, ProgId As String) As String

Parameters

AssemblyPath
String

The file system path for the assembly.

ProgId
String

The programmatic identifier of the class.

Returns

The type name that matches the ProgID.

Implements

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

Applies to