VCCodeModel.CodeTypeFromFullName Method (String)


Returns a code element based on a fully qualified name.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

CodeType CodeTypeFromFullName(
	string 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 or null, rather than returning a code element with a Kind property of EnvDTE.vsCMElement.vsCMElementOther and a InfoLocation property of EnvDTE.vsCMInfoLocation.vsCMInfoLocationNone.

Return to top