FileCodeModel2::ElementFromID Method (String^)

 

Used to receive specific CodeElement.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

CodeElement^ ElementFromID(
	String^ ID
)

Parameters

ID
Type: System::String^

The string used to identify the element.

Return Value

Type: EnvDTE::CodeElement^

A CodeElement object.

If the requested element no longer exists, the method returns E_FAIL.

Return to top
Show: