This documentation is archived and is not being maintained.

CodeTypeFromFullname Method (General Extensibility)

Visual Studio .NET 2003

Returns a code element based on a fully qualified name.

[Visual Basic .NET]
Public Function CodeTypeFromFullName( _
   Name As String _
) As CodeType
[Visual Basic 6]
Function CodeTypeFromFullName( _
   Name As String _
) As CodeType
[C++]
HRESULT __stdcall CodeTypeFromFullName(
   BSTR Name,
   /* [out, retval] */ CodeType** retVal
);
[C#]
CodeType CodeTypeFromFullName(
   string Name
);
[JScript .NET]
public function CodeTypeFromFullName(
   Name : String
) : CodeType

Parameters

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

Return Value

Returns a CodeType object.

Remarks

If the specified name is not found in the project or any of its references, CodeTypeFromFullName returns Nothing, rather than returning a code element with a Kind property of vsCMElementOther and a InfoLocation property of vsInfoLocationNone.

See Also

Applies To: CodeModel Object | VCCodeModel Object

Show: