VCCodeModel::CodeElementFromFullName2 Method (String^)
Visual Studio 2015
Gets a collection of the specified code elements for the object. It is identical to CodeElementFromFullName, except that it ignores namespaces during lookup.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Parameters
- Name
-
Type:
System::String^
Required. The full name of the elements to retrieve.
Given the following code:
[Visual C++]
class X {};
namespace NS1 {
class X {};
namespace NS2 {
class X {};
}
}
a call to VCCodeModel.CodeElementFromFullName2("X") yields {X; NS1::X; NS1::NS2::X}.
Show: