IVCWizCtlUI.ValidateCLRIdentifier(String, Boolean) Méthode

Définition

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

Boolean

True si le nom est un identificateur CLR valide.

Attributs

S’applique à