Creates an ICodeClass object representing the class with the name specified.
[Visual Basic] Function ClassForName( _ ByVal className As String _ ) As ICodeClass [C#] ICodeClass ClassForName( string className ); [C++] ICodeClass* ClassForName( String* className ) = 0; [JScript] function ClassForName( className : String ) : ICodeClass;
An ICodeClass object for the specified class.
This method takes into account any imports or namespaces that the specified class uses. It looks these up using the same rules that the compiler would use.
Note Calling ClassForName twice with the same name will not return the same instance of the ICodeClass object. Each request to ClassForName will generate a new object.
ICodeClass Interface | ICodeClass Members | System.ComponentModel.Design.CodeModel Namespace