Metodo VCLanguageManager.ValidateIdentifier
Determina se il nome specificato è un identificatore C++ valido.
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: StringObbligatorio. Identificatore da convalidare.
Valore restituito
Tipo: Boolean
true se il nome specificato è un identificatore C++ valido; in caso contrario, false.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.