CodeModel::CodeTypeFromFullName Method (String^)
Returns a code element based on a fully qualified name.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- Name
-
Type:
System::String^
Required. A fully qualified symbol name, such as Namespace1.Namespace2.Class1.Member1.
If the specified name is not found in the project or any of its references, CodeTypeFromFullName returns Nothing, rather than returning a code element with a Kind property of vsCMElementOther and a InfoLocation property of vsCMInfoLocationNone.
Note |
|---|
The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic). |
