Share via


IVCWizCtlUI.ValidateCLRIdentifier Method

Returns whether a name is a valid CLR identifier.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Function ValidateCLRIdentifier ( _
    bstrName As String, _
    bReportError As Boolean _
) As Boolean
bool ValidateCLRIdentifier(
    string bstrName,
    bool bReportError
)
bool ValidateCLRIdentifier(
    [InAttribute] String^ bstrName, 
    [InAttribute] bool bReportError
)
abstract ValidateCLRIdentifier : 
        bstrName:string * 
        bReportError:bool -> bool
function ValidateCLRIdentifier(
    bstrName : String, 
    bReportError : boolean
) : boolean

Parameters

  • bstrName
    Type: String

    Name to test.

  • bReportError
    Type: Boolean

    Set to true to report an error.

Return Value

Type: Boolean
True if the name is a valid CLR identifier.

.NET Framework Security

See Also

Reference

IVCWizCtlUI Interface

Microsoft.VisualStudio.VsWizard Namespace