VCLanguageManager.ValidateIdentifier (Método)

determina si el nombre especificado es un identificador válido de C++.

Espacio de nombres:  Microsoft.VisualStudio.VCCodeModel
Ensamblado:  Microsoft.VisualStudio.VCCodeModel (en Microsoft.VisualStudio.VCCodeModel.dll)

Sintaxis

'Declaración
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

Parámetros

  • bstrIdentifier
    Tipo: System.String
    Obligatorio.El identificador que se va a validar.

Valor devuelto

Tipo: System.Boolean
true si el nombre especificado es un identificador válido de C++; si no, false.

Seguridad de .NET Framework

Vea también

Referencia

VCLanguageManager Interfaz

Microsoft.VisualStudio.VCCodeModel (Espacio de nombres)