Bewerken

Delen via


IComSoapPublisher.GetTypeNameFromProgId(String, String) Method

Definition

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

public:
 System::String ^ GetTypeNameFromProgId(System::String ^ AssemblyPath, System::String ^ ProgId);
public string GetTypeNameFromProgId (string AssemblyPath, string ProgId);
abstract member 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.

Exceptions

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

Applies to