Compartilhar via


Método VCLanguageManager.ValidateIdentifier

Determina se o nome especificado é um identificador válido do C++.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (em Microsoft.VisualStudio.VCCodeModel.dll)

Sintaxe

'Declaração
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: String

    Obrigatório. O identificador a ser validado.

Valor de retorno

Tipo: Boolean
true Se o nome especificado é um identificador válido do C++; Caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

VCLanguageManager Interface

Namespace Microsoft.VisualStudio.VCCodeModel