Compartilhar via


CodeDomSerializer.GetTargetComponentName Método

Definição

Determina a qual grupo de instruções a instrução fornecida deve pertencer.

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

O CodeStatement para a qual determinar o grupo.

expression
CodeExpression

Um CodeExpression que statement foi reduzido para.

targetType
Type

O Type de statement.

Retornos

O nome do componente com que statement deve ser agrupado.

Aplica-se a