c# - How to get a Type object from Type's name? -


यह मेरा कोड है:

  System.Windows.Forms का उपयोग कर; टाइप प्रकार = टाइपफ (फॉर्म); प्रकार type2 = Type.GetType (type.FullName);  

परिणामस्वरूप: type2 == null

क्या मैं गलत कर रहा हूं?

शायद आप कोशिश कर सकते हैं:

  प्रकार type2 = Type.GetType (type.AssemblyQualifiedName);  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -