PropertyDescriptor.GetTypeFromName(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.
Returns a type using its name.
protected:
Type ^ GetTypeFromName(System::String ^ typeName);
protected Type GetTypeFromName (string typeName);
protected Type? GetTypeFromName (string? typeName);
member this.GetTypeFromName : string -> Type
Protected Function GetTypeFromName (typeName As String) As Type
Parameters
- typeName
- String
The assembly-qualified name of the type to retrieve.
Returns
A Type that matches the given type name, or null
if a match cannot be found.
Remarks
To find the appropriate type, this method first checks the assembly of the type that this PropertyDescriptor references. If it does not find the type in the assembly, it calls Type.GetType.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.