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)
Syntax
'Declaration
Function CodeTypeFromFullName2 ( _
Name As String _
) As CodeType
CodeType CodeTypeFromFullName2(
string Name
)
CodeType^ CodeTypeFromFullName2(
[InAttribute] String^ Name
)
abstract CodeTypeFromFullName2 :
Name:string -> CodeType
function CodeTypeFromFullName2(
Name : String
) : CodeType
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.
Examples
Given the following code:
class X {};
typedef X TD;
a call to VCCodeModel.CodeTypeFromFullName2("TD") yields class X.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.