Compartir a través de


CodeDomSerializer.GetTargetComponentName Método

Definición

Determina a qué grupo de instrucciones debería pertenecer la instrucción dada.

public:
 virtual System::String ^ GetTargetComponentName(System::CodeDom::CodeStatement ^ statement, System::CodeDom::CodeExpression ^ expression, Type ^ targetType);
public virtual string GetTargetComponentName (System.CodeDom.CodeStatement statement, System.CodeDom.CodeExpression expression, Type targetType);
public virtual string? GetTargetComponentName (System.CodeDom.CodeStatement? statement, System.CodeDom.CodeExpression? expression, Type? targetType);
abstract member GetTargetComponentName : System.CodeDom.CodeStatement * System.CodeDom.CodeExpression * Type -> string
override this.GetTargetComponentName : System.CodeDom.CodeStatement * System.CodeDom.CodeExpression * Type -> string
Public Overridable Function GetTargetComponentName (statement As CodeStatement, expression As CodeExpression, targetType As Type) As String

Parámetros

statement
CodeStatement

Clase CodeStatement cuyo grupo se va a determinar.

expression
CodeExpression

Objeto CodeExpression al que se ha reducido statement.

targetType
Type

Type de statement.

Devoluciones

Nombre del componente con el que debería agruparse statement.

Se aplica a