Export (0) Print
Expand All

VCCodeModel.CodeTypeFromFullName2 Method

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.

Show:
© 2014 Microsoft