CodeModel2::CodeTypeFromFullName Method (String^)

 

Returns a code element based on a fully qualified name.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

CodeType^ CodeTypeFromFullName(
	String^ Name
)

Parameters

Name
Type: System::String^

Required. A fully qualified symbol name, such as Namespace1.Namespace2.Class1.Member1.

Return Value

Type: EnvDTE::CodeType^

A CodeType object.

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.

System_CAPS_noteNote

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

No code example is currently available or this language may not be supported.
Return to top
Show: