IDebugFunctionObjectIDebugFunctionObject
Importante
No Visual Studio 2015, essa maneira de implementar avaliadores de expressão é preterida.In Visual Studio 2015, this way of implementing expression evaluators is deprecated. Para obter informações sobre como implementar avaliadores de expressão CLR, consulte os avaliadores de expressão CLR e exemplo de avaliador de expressão gerenciada.For information about implementing CLR expression evaluators, please see CLR Expression Evaluators and Managed Expression Evaluator Sample.
Essa interface representa uma função.This interface represents a function.
SintaxeSyntax
IDebugFunctionObject : IDebugObject
Notas para implementadoresNotes for Implementers
Um avaliador de expressão implementa essa interface para representar uma função.An expression evaluator implements this interface to represent a function.
Observações para chamadoresNotes for Callers
Essa interface é uma especialização da interface IDebugObject e é obtida usando QueryInterface na IDebugObject
interface.This interface is a specialization of the IDebugObject interface and is obtained using QueryInterface on the IDebugObject
interface.
Métodos em ordem vtableMethods in Vtable Order
Além dos métodos herdados de IDebugObject, a IDebugFunctionObject
interface expõe os métodos a seguir.In addition to the methods inherited from IDebugObject, the IDebugFunctionObject
interface exposes the following methods.
MétodoMethod | DescriçãoDescription |
---|---|
CreatePrimitiveObjectCreatePrimitiveObject | Cria um objeto de dados primitivos.Creates a primitive data object. |
CreateObjectCreateObject | Cria um objeto usando um construtor.Creates an object using a constructor. |
CreateObjectNoConstructorCreateObjectNoConstructor | Cria um objeto sem Construtor.Creates an object with no constructor. |
CreateArrayObjectCreateArrayObject | Cria um objeto de matriz.Creates an array object. |
CreateStringObjectCreateStringObject | Cria um objeto de cadeia de caracteres.Creates a string object. |
AvaliarEvaluate | Chama a função e retorna o valor resultante como um objeto.Calls the function and returns the resulting value as an object. |
ComentáriosRemarks
Essa interface permite que o avaliador de expressão represente funções em uma árvore de análise.This interface enables the expression evaluator to represent functions in a parse tree. Os Create
métodos nessa interface são usados para construir objetos que representam os parâmetros de entrada para o método.The Create
methods in this interface are used to construct objects representing the input parameters to the method. A função pode ser executada chamando o método Evaluate , que retorna um objeto que representa o valor retornado da função.The function can then be executed by calling the Evaluate method, which returns an object representing the return value of the function.
RequisitosRequirements
Cabeçalho: EE. hHeader: ee.h
Namespace: Microsoft. VisualStudio. Debugger. InteropNamespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dllAssembly: Microsoft.VisualStudio.Debugger.Interop.dll