IVCWizCtlUI.ValidateCLRIdentifier(String, Boolean) Méthode
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 une valeur indiquant si un nom est un identificateur CLR valide.
bool ValidateCLRIdentifier(std::wstring const & bstrName, bool bReportError = true);
[System.Runtime.InteropServices.DispId(1610743860)]
public bool ValidateCLRIdentifier (string bstrName, bool bReportError = true);
[<System.Runtime.InteropServices.DispId(1610743860)>]
abstract member ValidateCLRIdentifier : string * bool -> bool
Public Function ValidateCLRIdentifier (bstrName As String, Optional bReportError As Boolean = true) As Boolean
Paramètres
- bstrName
- String
Nom à tester.
- bReportError
- Boolean
A la valeur true pour signaler une erreur.
Retours
True si le nom est un identificateur CLR valide.
- Attributs