VCCodeModel::CodeTypeFromFullName2 Method (String^)

 

Returns a code element based on a fully qualified name. It is identical to CodeTypeFromFullName except that it will attempt typedef resolution.

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

CodeType^ CodeTypeFromFullName2(
	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.

Given the following code:

class X {};
typedef X TD;

a call to VCCodeModel.CodeTypeFromFullName2("TD") yields class X.

Return to top
Show: