VCLanguageManager.ValidateIdentifier Method
Determines if the specified name is a valid C++ identifier.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'إقرار
Function ValidateIdentifier ( _
bstrIdentifier As String _
) As Boolean
'الاستخدام
Dim instance As VCLanguageManager
Dim bstrIdentifier As String
Dim returnValue As Boolean
returnValue = instance.ValidateIdentifier(bstrIdentifier)
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.