VCCodeModel.CodeTypeFromFullName(String) Method

Definition

Returns a code element based on a fully qualified name.

[System.Runtime.InteropServices.DispId(5)]
public EnvDTE.CodeType CodeTypeFromFullName (string Name);
Parameters
Name
String

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

Returns

A CodeType object.

Remarks

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.

Applies to