CodeDomSerializer.GetTargetComponentName Metoda

Definice

Určuje, do které skupiny příkazů by měl daný příkaz patřit.

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

Parametry

statement
CodeStatement

Hodnota CodeStatement , pro kterou se má určit skupina.

expression
CodeExpression

A CodeExpression , která statement byla redukována na.

targetType
Type

The Type of statement.

Návraty

Název komponenty, se kterou statement se má seskupit.

Platí pro