VCCodeModel.CodeTypeFromFullName Method (String)
Returns a code element based on a fully qualified name.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaration
Function CodeTypeFromFullName ( _
Name As String _
) As CodeType
'Usage
Dim instance As VCCodeModel
Dim Name As String
Dim returnValue As CodeType
returnValue = instance.CodeTypeFromFullName(Name)
CodeType CodeTypeFromFullName(
string Name
)
CodeType^ CodeTypeFromFullName(
String^ Name
)
function CodeTypeFromFullName(
Name : String
) : CodeType
Parameters
Name
Type: System.StringRequired. A fully qualified symbol name, such as Namespace1.Namespace2.Class1.Member1.
Return Value
Type: EnvDTE.CodeType
A CodeType object.
Implements
CodeModel2.CodeTypeFromFullName(String)
Remarks
If the specified name is not found in the project or any of its references, CodeTypeFromFullName returns Nothing or nulla null reference (Nothing in Visual Basic), rather than returning a code element with a Kind property of vsCMElementOther and a InfoLocation property of vsCMInfoLocationNone.
.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.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples