次の方法で共有


IVCWizCtlUI.ValidateCLRIdentifier(String, Boolean) Method

Definition

Returns whether a name is a valid CLR identifier.

bool ValidateCLRIdentifier(std::wstring const & bstrName, bool bReportError = true);
[System.Runtime.InteropServices.DispId(1610743860)]
public bool ValidateCLRIdentifier (string bstrName, bool bReportError = true);
[<System.Runtime.InteropServices.DispId(1610743860)>]
abstract member ValidateCLRIdentifier : string * bool -> bool
Public Function ValidateCLRIdentifier (bstrName As String, Optional bReportError As Boolean = true) As Boolean

Parameters

bstrName
String

Name to test.

bReportError
Boolean

Set to true to report an error.

Returns

True if the name is a valid CLR identifier.

Attributes

Applies to