Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns whether a name is a valid CLR identifier.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Public Overridable Function ValidateCLRIdentifier ( _
bstrName As String, _
bReportError As Boolean _
) As Boolean
public virtual bool ValidateCLRIdentifier(
string bstrName,
bool bReportError
)
public:
virtual bool ValidateCLRIdentifier(
[InAttribute] String^ bstrName,
[InAttribute] bool bReportError
)
abstract ValidateCLRIdentifier :
bstrName:string *
bReportError:bool -> bool
override ValidateCLRIdentifier :
bstrName:string *
bReportError:bool -> bool
public function ValidateCLRIdentifier(
bstrName : String,
bReportError : boolean
) : boolean
Parameters
bstrName
Type: StringName to test.
bReportError
Type: BooleanSet to true to report an error.
Return Value
Type: Boolean
True if the name is a valid CLR identifier.
Implements
IVCWizCtlUI.ValidateCLRIdentifier(String, Boolean)
.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.