共用方式為


VCLanguageManager.ValidateType(String) Method

Definition

Determines if the specified expression is a valid C++ type expression.

public:
 bool ValidateType(System::String ^ bstrType);
public:
 bool ValidateType(Platform::String ^ bstrType);
bool ValidateType(std::wstring const & bstrType);
[System.Runtime.InteropServices.DispId(4)]
public bool ValidateType (string bstrType);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member ValidateType : string -> bool
Public Function ValidateType (bstrType As String) As Boolean

Parameters

bstrType
String

Required. The expression being validated.

Returns

true if the specified expression is a valid C++ type expression; otherwise, false.

Attributes

Applies to