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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για