ModuleBuilder.GetStringConstant(String) Méthode
Dans cet article
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le jeton de la chaîne donnée dans le pool de constantes du module.
public:
System::Reflection::Emit::StringToken GetStringConstant(System::String ^ str);
public System.Reflection.Emit.StringToken GetStringConstant(string str);
member this.GetStringConstant : string -> System.Reflection.Emit.StringToken
Public Function GetStringConstant (str As String) As StringToken
- str
- String
Chaîne à ajouter au pool de constantes du module.
Jeton de la chaîne dans le pool de constantes.
str
a la valeur null
.
Si str
a déjà été défini, le jeton existant est retourné.
S’applique à
Produit | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :