Condividi tramite


Metodo VCLanguageManager.ValidateIdentifier

determina se il nome specificato è un identificatore valido di C++.

Spazio dei nomi:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Sintassi

'Dichiarazione
Function ValidateIdentifier ( _
    bstrIdentifier As String _
) As Boolean
bool ValidateIdentifier(
    string bstrIdentifier
)
bool ValidateIdentifier(
    [InAttribute] String^ bstrIdentifier
)
abstract ValidateIdentifier : 
        bstrIdentifier:string -> bool 
function ValidateIdentifier(
    bstrIdentifier : String
) : boolean

Parametri

  • bstrIdentifier
    Tipo: System.String
    obbligatorio.l'identificatore da convalidare.

Valore restituito

Tipo: System.Boolean
true se il nome specificato è un identificatore C++ valido; in caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VCLanguageManager Interfaccia

Spazio dei nomi Microsoft.VisualStudio.VCCodeModel