Share via


VCCodeModel.CodeTypeFromFullName2(String) Method

Definition

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

public:
 EnvDTE::CodeType ^ CodeTypeFromFullName2(System::String ^ Name);
public:
 EnvDTE::CodeType ^ CodeTypeFromFullName2(Platform::String ^ Name);
EnvDTE::CodeType CodeTypeFromFullName2(std::wstring const & Name);
[System.Runtime.InteropServices.DispId(607)]
public EnvDTE.CodeType CodeTypeFromFullName2 (string Name);
[<System.Runtime.InteropServices.DispId(607)>]
abstract member CodeTypeFromFullName2 : string -> EnvDTE.CodeType
Public Function CodeTypeFromFullName2 (Name As String) As CodeType

Parameters

Name
String

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

Returns

A CodeType object.

Attributes

Examples

Given the following code:

class X {};  
typedef X TD;  

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

Applies to