VCLanguageManager.ValidateType Method
Determines if the specified expression is a valid C++ type expression.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Function ValidateType ( _
bstrType As String _
) As Boolean
用法
Dim instance As VCLanguageManager
Dim bstrType As String
Dim returnValue As Boolean
returnValue = instance.ValidateType(bstrType)
bool ValidateType(
string bstrType
)
bool ValidateType(
[InAttribute] String^ bstrType
)
function ValidateType(
bstrType : String
) : boolean
Parameters
bstrType
Type: System.StringRequired. The expression being validated.
Return Value
Type: System.Boolean
true if the specified expression is a valid C++ type expression; otherwise, false.
Permissions
- 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.