Publish.GetTypeNameFromProgId(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.