VCFileCodeModel.ElementFromID Method (String)
Not currently implemented.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'宣告
Function ElementFromID ( _
ID As String _
) As CodeElement
CodeElement ElementFromID(
string ID
)
CodeElement^ ElementFromID(
String^ ID
)
abstract ElementFromID :
ID:string -> CodeElement
function ElementFromID(
ID : String
) : CodeElement
Parameters
- ID
Type: System.String
String ID of the element to retrieve.
Return Value
Type: EnvDTE.CodeElement
A code element or construct in a source file.
Implements
FileCodeModel2.ElementFromID(String)
.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.