Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the specified name is a valid C++ identifier.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaration
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
Parameters
- bstrIdentifier
Type: System.String
Required. The identifier to be validated.
Return Value
Type: System.Boolean
true if the specified name is a valid C++ identifier; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.