次の方法で共有


VCCodeModel.CodeTypeFromFullName(String) Method

Definition

Returns a code element based on a fully qualified name.

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

Parameters

Name
String

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

Returns

A CodeType object.

Implements

Attributes

Remarks

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

Applies to