Condividi tramite


TypedConstantExtensions.ToCSharpString(TypedConstant) Metodo

Definizione

Restituisce System.String che rappresenta l'oggetto TypedConstant corrente.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ToCSharpString(Microsoft::CodeAnalysis::TypedConstant constant);
public static string ToCSharpString (this Microsoft.CodeAnalysis.TypedConstant constant);
static member ToCSharpString : Microsoft.CodeAnalysis.TypedConstant -> string
<Extension()>
Public Function ToCSharpString (constant As TypedConstant) As String

Parametri

constant
TypedConstant

Restituisce

System.String che rappresenta l'oggetto TypedConstant corrente.

Si applica a